amo_social_button.setMeta({
note: {
text: 'Текст примечания',
element_type: 1,
note_type: 4,
},
contact: {
name: 'Иван Иванов',
custom_fields: [
{
id: 123456, values:
[
{
enum: 12345,
value: '+7123456789',
}
]
}
]
},
lead: {
name: 'Название сделки',
sale: 999,
}
})