Происходит при синхронизации истории сообщений WhatsApp Business App.Подпишитесь на whatsapp.smb.history, когда будете настраивать свою конечную точку webhook.Событие истории может содержать whatsappInboundMessage для входящего сообщения, whatsappMessage для исходящего сообщения или только метаданные фрагмента (chunk). phase и progress включаются, когда событие поступает из фрагмента истории Meta. Не делайте наличие объекта сообщения обязательным в каждом событии истории.
YCloud отправляет HTTP-запрос POST на настроенный вами URL webhook. Следующая структура демонстрирует один из вариантов полезной нагрузки. Значения в угловых скобках являются заполнителями; их типы перечислены в разделе Параметры. Необязательные поля и другие варианты описаны ниже.
Включается, когда type имеет значение whatsapp.smb.history и событие было создано из фрагмента истории Meta. Определяет фазу синхронизации фрагмента.
progress
integer (int32)
Нет
Включается, когда type имеет значение whatsapp.smb.history и событие было создано из фрагмента истории Meta. Сообщает о прогрессе синхронизации фрагмента.
whatsappInboundMessage
object
Нет
Полезная нагрузка whatsappInboundMessage, специфичная для события.
whatsappMessage
object
Нет
Полезная нагрузка whatsappMessage, специфичная для события.
Четыре общих поля конверта являются обязательными. Поля полезной нагрузки зависят от варианта события. В каждой таблице объектов статус Обязательный применяется, когда присутствует его родительский объект. Необязательные поля могут быть опущены; наличие поля в примере не делает его обязательным.
Когда уведомление описывает текстовое сообщение, объект text содержит текст этого сообщения.
image
object
Нет
При получении сообщения с медиафайлом (image | document | audio | video | sticker) клиент WhatsApp Business API скачивает этот медиафайл. После скачивания медиафайла на ваш Webhook отправляется уведомление. Это сообщение содержит информацию, идентифицирующую медиаобъект и позволяющую найти и скачать его.
video
object
Нет
При получении сообщения с медиафайлом (image | document | audio | video | sticker) клиент WhatsApp Business API скачивает этот медиафайл. После скачивания медиафайла на ваш Webhook отправляется уведомление. Это сообщение содержит информацию, идентифицирующую медиаобъект и позволяющую найти и скачать его.
audio
object
Нет
При получении сообщения с медиафайлом (image | document | audio | video | sticker) клиент WhatsApp Business API скачивает этот медиафайл. После скачивания медиафайла на ваш Webhook отправляется уведомление. Это сообщение содержит информацию, идентифицирующую медиаобъект и позволяющую найти и скачать его.
document
object
Нет
При получении сообщения с медиафайлом (image | document | audio | video | sticker) клиент WhatsApp Business API скачивает этот медиафайл. После скачивания медиафайла на ваш Webhook отправляется уведомление. Это сообщение содержит информацию, идентифицирующую медиаобъект и позволяющую найти и скачать его.
sticker
object
Нет
При получении сообщения с медиафайлом (image | document | audio | video | sticker) клиент WhatsApp Business API скачивает этот медиафайл. После скачивания медиафайла на ваш Webhook отправляется уведомление. Это сообщение содержит информацию, идентифицирующую медиаобъект и позволяющую найти и скачать его.
interactive
object
Нет
Когда клиент взаимодействует с вашим сообщением, этот объект включается в объект message.
location
object
Нет
При получении уведомления со статическим местоположением пользователя объект location предоставляет сведения о местоположении.
button
object
Нет
Когда поле типа сообщения имеет значение button, этот объект включается в объект message.
contacts
object[]
Нет
Элементы массива описаны ниже.
reaction
object
Нет
Когда пользователь реагирует на сообщения с помощью эмодзи, типу сообщения присваивается значение reaction, и это поле включается в объект.
order
object
Нет
Когда клиент оформляет заказ, типу сообщения присваивается значение order, и это поле включается в объект.
system
object
Нет
Когда тип сообщения установлен в system, это поле включается в объект. Этот объект описывает смену номера телефона пользователя, смену BSUID или возможное изменение учетных данных в WhatsApp.
ID группы WhatsApp. Это поле передается, если входящее сообщение отправлено в группу WhatsApp.
whatsappInboundMessage.customerProfile
Параметр
Тип
Обязательный
Описание
name
string
Нет
Имя аккаунта WhatsApp.
username
string
Нет
Имя пользователя WhatsApp.
whatsappInboundMessage.text
Параметр
Тип
Обязательный
Описание
body
string
Нет
Текст сообщения.
whatsappInboundMessage.image
Параметр
Тип
Обязательный
Описание
id
string
Нет
ID медиафайла. Может использоваться для удаления медиафайла, если он сохранен локально на клиенте.
link
string
Нет
URL для скачивания медиафайла. Обратите внимание: эта ссылка доступна напрямую в течение нескольких минут для удобства пользователя, но для скачивания этого файла в течение месяца всегда следует передавать заголовок X-API-Key.
caption
string
Нет
Переданная подпись к медиафайлу. Присутствует, только если была указана.
filename
string
Нет
Имя файла на устройстве отправителя. Присутствует только в медиасообщениях типа document.
metadata
object
Нет
Метаданные, относящиеся к медиафайлу sticker.
mime_type
string
Нет
MIME-тип медиафайла.
sha256
string
Нет
Контрольная сумма.
whatsappInboundMessage.video
Параметр
Тип
Обязательный
Описание
id
string
Нет
ID медиафайла. Может использоваться для удаления медиафайла, если он сохранен локально на клиенте.
link
string
Нет
URL для скачивания медиафайла. Обратите внимание: эта ссылка доступна напрямую в течение нескольких минут для удобства пользователя, но для скачивания этого файла в течение месяца всегда следует передавать заголовок X-API-Key.
caption
string
Нет
Переданная подпись к медиафайлу. Присутствует, только если была указана.
filename
string
Нет
Имя файла на устройстве отправителя. Присутствует только в медиасообщениях типа document.
metadata
object
Нет
Метаданные, относящиеся к медиафайлу sticker.
mime_type
string
Нет
MIME-тип медиафайла.
sha256
string
Нет
Контрольная сумма.
whatsappInboundMessage.audio
Параметр
Тип
Обязательный
Описание
id
string
Нет
ID медиафайла. Может использоваться для удаления медиафайла, если он сохранен локально на клиенте.
link
string
Нет
URL для скачивания медиафайла. Обратите внимание: эта ссылка доступна напрямую в течение нескольких минут для удобства пользователя, но для скачивания этого файла в течение месяца всегда следует передавать заголовок X-API-Key.
caption
string
Нет
Переданная подпись к медиафайлу. Присутствует, только если была указана.
filename
string
Нет
Имя файла на устройстве отправителя. Присутствует только в медиасообщениях типа document.
metadata
object
Нет
Метаданные, относящиеся к медиафайлу sticker.
mime_type
string
Нет
MIME-тип медиафайла.
sha256
string
Нет
Контрольная сумма.
whatsappInboundMessage.document
Параметр
Тип
Обязательный
Описание
id
string
Нет
Идентификатор медиафайла. Может использоваться для удаления медиафайла, если он сохранен локально на стороне клиента.
link
string
Нет
URL-адрес для скачивания медиафайла. Обратите внимание, что для удобства пользователя к этой ссылке можно обращаться напрямую в течение нескольких минут, однако для скачивания этого файла в течение месяца всегда следует передавать заголовок X-API-Key.
caption
string
Нет
Переданная подпись к медиафайлу. Присутствует только в том случае, если была указана.
filename
string
Нет
Имя файла на устройстве отправителя. Присутствует только в сообщениях с медиатипом document.
metadata
object
Нет
Метаданные, относящиеся к медиафайлам sticker.
mime_type
string
Нет
MIME-тип медиафайла.
sha256
string
Нет
Контрольная сумма.
whatsappInboundMessage.sticker
Параметр
Тип
Обязательный
Описание
id
string
Нет
Идентификатор медиафайла. Может использоваться для удаления медиафайла, если он сохранен локально на стороне клиента.
link
string
Нет
URL-адрес для скачивания медиафайла. Обратите внимание, что для удобства пользователя к этой ссылке можно обращаться напрямую в течение нескольких минут, однако для скачивания этого файла в течение месяца всегда следует передавать заголовок X-API-Key.
caption
string
Нет
Переданная подпись к медиафайлу. Присутствует только в том случае, если была указана.
filename
string
Нет
Имя файла на устройстве отправителя. Присутствует только в сообщениях с медиатипом document.
metadata
object
Нет
Метаданные, относящиеся к медиафайлам sticker.
mime_type
string
Нет
MIME-тип медиафайла.
sha256
string
Нет
Контрольная сумма.
whatsappInboundMessage.interactive
Параметр
Тип
Обязательный
Описание
type
string
Нет
Тип полученного интерактивного сообщения.
button_reply: Отправляется, когда клиент нажимает кнопку.
list_reply: Отправляется, когда клиент выбирает элемент из списка.
nfm_reply: Отправляется, когда клиент отвечает на WhatsApp Flow (Next Feature Messaging).
call_permission_reply: Отправляется, когда клиент отвечает на запрос разрешения звонка.
button_reply
object
Нет
Отправляется, когда клиент нажимает кнопку. Возвращается, когда type имеет значение button_reply.
list_reply
object
Нет
Отправляется, когда клиент выбирает элемент из списка. Возвращается, когда type имеет значение list_reply.
nfm_reply
object
Нет
Отправляется, когда клиент отвечает на WhatsApp Flow (Next Feature Messaging). Возвращается, когда type имеет значение nfm_reply.
call_permission_reply
object
Нет
Отправляется, когда клиент отвечает на запрос разрешения звонка. Возвращается, когда type имеет значение call_permission_reply. Это происходит, когда WhatsApp предлагает пользователям предоставить разрешение на обратный звонок после того, как они позвонили в вашу компанию.
accept: пользователь разрешил компании перезвонить
reject: пользователь отклонил разрешение компании перезвонить
expiration_timestamp
integer (int64)
Нет
Временная метка (в секундах), когда истекает срок действия разрешения на звонок. Присутствует, только если значение ответа — “accept”, а is_permanent равно false.
is_permanent
boolean
Нет
Является ли разрешение постоянным или временным.
true: постоянное разрешение (без срока действия)
false: временное разрешение (истекает в момент времени expiration_timestamp)
whatsappInboundMessage.location
Параметр
Тип
Обязательный
Описание
latitude
number (double)
Нет
Широта отправляемого местоположения.
longitude
number (double)
Нет
Долгота отправляемого местоположения.
address
string
Нет
Адрес местоположения.
name
string
Нет
Название местоположения.
url
string
Нет
URL веб-сайта, с которого пользователь загрузил информацию о местоположении.
whatsappInboundMessage.button
Параметр
Тип
Обязательный
Описание
payload
string
Нет
Полезная нагрузка (payload) кнопки, настроенной компанией, которую клиент нажал в интерактивном сообщении.
text
string
Нет
Текст кнопки.
whatsappInboundMessage.contacts[]
Параметр
Тип
Обязательный
Описание
addresses
object[]
Нет
Элементы массива описаны ниже.
birthday
string
Нет
Строка в формате YYYY-MM-DD.
emails
object[]
Нет
Элементы массива описаны ниже.
name
object
Да
Полное имя контакта в формате объекта name.
org
object
Нет
Сведения об организации контакта в формате объекта org.
phones
object[]
Нет
Номер(а) телефона контакта в формате объекта phone.
urls
object[]
Нет
URL контакта в формате объекта urls.
vcard
string
Нет
Необязательный vCard, переданный вместе с полезной нагрузкой отправленного контакта.
origin
string
Нет
Принимает значение contact_request, если пользователь поделился контактом в ответ на сообщение с запросом контактных данных.
whatsappInboundMessage.contacts[].addresses[]
Параметр
Тип
Обязательный
Описание
street
string
Нет
Название улицы и номер дома.
city
string
Нет
Название города.
state
string
Нет
Аббревиатура штата/региона.
zip
string
Нет
Почтовый индекс.
country
string
Нет
Полное название страны.
country_code
string
Нет
Двухбуквенный код страны.
type
string
Нет
Стандартные значения: HOME и WORK.
whatsappInboundMessage.contacts[].emails[]
Параметр
Тип
Обязательный
Описание
email
string
Нет
Адрес электронной почты.
type
string
Нет
Стандартные значения: HOME и WORK.
whatsappInboundMessage.contacts[].name
Параметр
Тип
Обязательный
Описание
formatted_name
string
Да
Полное имя в привычном формате.
first_name
string
Нет
Имя.
last_name
string
Нет
Фамилия.
middle_name
string
Нет
Отчество или второе имя.
suffix
string
Нет
Суффикс имени.
prefix
string
Нет
Префикс имени.
whatsappInboundMessage.contacts[].org
Параметр
Тип
Обязательный
Описание
company
string
Нет
Название компании контакта.
department
string
Нет
Название отдела контакта.
title
string
Нет
Должность контакта.
whatsappInboundMessage.contacts[].phones[]
Параметр
Тип
Обязательный
Описание
phone
string
Нет
Автоматически заполняется значением wa_id в виде отформатированного номера телефона.
type
string
Нет
Стандартные значения: CELL, MAIN, IPHONE, HOME и WORK.
wa_id
string
Нет
WhatsApp ID.
whatsappInboundMessage.contacts[].urls[]
Параметр
Тип
Обязательный
Описание
url
string
Нет
URL.
type
string
Нет
Стандартные значения: HOME и WORK.
whatsappInboundMessage.reaction
Параметр
Тип
Обязательный
Описание
message_id
string
Да
Указывает wamid полученного сообщения, содержащего реакцию.
emoji
string
Нет
Обязательный при отправке сообщения reaction. Укажите "", если хотите удалить эмодзи. Необязательный при получении сообщения от пользователя. Это поле передается, когда пользователь реагирует на сообщения с помощью эмодзи. В противном случае оно указывает на то, что пользователь удалил эмодзи.
whatsappInboundMessage.order
Параметр
Тип
Обязательно
Описание
catalog_id
string
Нет
ID каталога.
product_items
object[]
Нет
Элементы массива описаны ниже.
text
string
Нет
Текстовое сообщение, отправленное вместе с заказом.
Описывает событие системного сообщения. Поддерживаемые сценарии использования:
Обновление номера телефона: когда пользователь переходит со старого номера на новый.
Обновление идентификационных данных: когда идентификационные данные пользователя изменились.
wa_id
string
Нет
Номер телефона, предоставленный Meta, без префикса +. Он может оставаться неизменным или быть опущен при изменении BSUID.
user_id
string
Нет
Новый идентификатор пользователя в контексте компании (business-scoped user ID), предоставленный Meta при смене номера телефона или BSUID. Это поле сохраняет исходное имя в формате snake_case.
parent_user_id
string
Нет
Новый родительский BSUID для изменения номера телефона или BSUID, только если эта функция включена и предоставлена Meta. Это поле сохраняет исходное имя в snake_case.
previous_user_id
string
Нет
Предыдущий идентификатор пользователя в области бизнеса (business-scoped user ID), предоставленный Meta.
previous_parent_user_id
string
Нет
Предыдущий родительский BSUID, только если включено и предоставлено Meta.
type
string
Нет
Поддерживаемые типы:
user_changed_user_id: уведомление о том, что пользователь изменил свой BSUID. Номер телефона может оставаться без изменений.
user_changed_number: для уведомления об изменении номера пользователем.
user_identity_changed: для уведомления об изменении удостоверения личности пользователя.
user
string
Нет
Добавлено в Webhook для обновлений идентификационных данных.
Новый идентификатор пользователя WhatsApp клиента.
new_wa_id
string
Нет
Добавляется в Webhook при обновлении номера телефона.
Новый WhatsApp ID клиента.
whatsappInboundMessage.errors[]
Параметр
Тип
Обязательный
Описание
code
string
Нет
Код ошибки.
title
string
Нет
Заголовок ошибки.
message
string
Нет
Сообщение об ошибке.
error_data
object
Нет
Объект данных об ошибке со следующими свойствами:
details: Строка с описанием причины ошибки. Пример: Message type is currently not supported..
whatsappInboundMessage.context
Параметр
Тип
Обязательно
Описание
forwarded
boolean
Нет
Добавляется в Webhook, если сообщение было переслано.
Устанавливается в значение true, если полученное сообщение было переслано.
frequently_forwarded
boolean
Нет
Добавляется в Webhook, если сообщение часто пересылалось.
Устанавливается в значение true, если полученное сообщение было переслано более пяти раз.
from
string
Нет
Добавляется в Webhook, если сообщение является входящим ответом на отправленное сообщение.
WhatsApp ID (номер телефона без префикса «+») отправителя отправленного сообщения.
id
string
Нет
Необязательно.
Идентификатор wamid отправленного сообщения для входящего ответа. wamid — это исходный идентификатор сообщения на платформе WhatsApp.
referred_product
object
Нет
Обязательно для сообщений с запросом о товаре.
Указывает товар, информацию о котором запрашивает пользователь. См. также Sell Products & Services.
whatsappInboundMessage.context.referred_product
Параметр
Тип
Обязательно
Описание
catalog_id
string
Нет
Идентификатор каталога.
product_retailer_id
string
Нет
Идентификатор артикула (SKU) товара.
whatsappInboundMessage.referral
Параметр
Тип
Обязательно
Описание
source_url
string
Нет
Задает URL, ведущий на рекламу или публикацию, по которой кликнул пользователь. Переход по этому URL открывает рекламу, просмотренную вашим пользователем.
source_type
string
Нет
Задает тип источника рекламы. Поддерживаемые значения: “ad” или “post”.
source_id
string
Нет
Задает Meta ID для рекламы или публикации.
headline
string
Нет
Задает заголовок, используемый в рекламе или публикации, сгенерировавшей сообщение.
body
string
Нет
Описание или текст рекламы либо публикации, сгенерировавшей сообщение.
media_type
string
Нет
Медиаматериалы, присутствующие в рекламе или публикации, по которой кликнул пользователь. Поддерживаемые значения: “image” или “video”.
image_url
string
Нет
Добавляется, если media_type имеет значение “image”.
Содержит URL исходного изображения.
video_url
string
Нет
Добавляется, если media_type имеет значение “video”.
Содержит URL видео.
thumbnail_url
string
Нет
Добавляется, если media_type имеет значение “video”.
Содержит URL миниатюры видео, по которому был совершен клик.
ctwa_clid
string
Нет
Идентификатор клика, созданный Meta для объявлений с переходом в WhatsApp.
Значение получателя, переданное в запросе, когда использовался BSUID или родительский BSUID.
recipientUserId
string
Нет
Идентификатор пользователя получателя в рамках WhatsApp Business (BSUID).
toUserId
string
Нет
Псевдоним для recipientUserId, сохранённый для совместимости.
parentRecipientUserId
string
Нет
Родительский идентификатор пользователя получателя в рамках WhatsApp Business.
toParentUserId
string
Нет
Псевдоним для parentRecipientUserId, сохранённый для совместимости.
customerProfile
object
Нет
Сведения профиля получателя, включая имя пользователя WhatsApp, если оно доступно.
conversation
object
Нет
WhatsApp определяет переписку как 24-часовую сессию обмена сообщениями между пользователем и компанией. Это поле появляется после того, как статус сообщения изменяется на sent. См. также Conversation-Based Pricing.
Используется для отправки сообщения WhatsApp типа template.
text
object
Нет
Объект текста сообщения WhatsApp.
image
object
Нет
Используется для сообщений image, gif, video, audio, document или sticker. См. также Supported Media Types.
video
object
Нет
Используется для сообщений image, gif, video, audio, document или sticker. См. также Supported Media Types.
audio
object
Нет
Используется для сообщений image, gif, video, audio, document или sticker. См. также Supported Media Types.
document
object
Нет
Используется для сообщений image, gif, video, audio, document или sticker. См. также Supported Media Types.
sticker
object
Нет
Используется для сообщений image, gif, video, audio, document или sticker. См. также Supported Media Types.
location
object
Нет
Используется для сообщений location.
interactive
object
Нет
Используется для сообщений interactive.
contacts
object[]
Нет
Элементы массива описаны ниже.
reaction
object
Нет
Когда пользователь реагирует на сообщения эмодзи, тип сообщения устанавливается в reaction, и включается это поле.
context
object
Нет
Используется для указания конкретного сообщения, на которое вы отвечаете. Ответ может быть сообщением любого типа.
externalId
string
Нет
Уникальная (рекомендуется) строка для идентификации объекта. Это может быть номер заказа или аналогичное значение, которое можно использовать для сопоставления объекта с вашими внутренними системами.
category
string
Нет
Категория Direct Send, например utility или authentication, если применимо.
ttlSeconds
integer
Нет
Настроенное время жизни сообщения Direct Send в секундах, если применимо.
status
string
Нет
Статус сообщения WhatsApp. Одно из значений: accepted, failed, sent, delivered, read.
accepted: запрос на отправку сообщения принят нашей системой.
failed: сообщение, отправленное вашей компанией, не удалось отправить.
sent: сообщение, отправленное вашей компанией, находится в процессе передачи в системах WhatsApp.
delivered: сообщение, отправленное вашей компанией, доставлено на устройство пользователя.
Время создания этого сообщения в формате RFC 3339, например, 2022-06-01T12:00:00.000Z.
updateTime
string (date-time)
Нет
Время обновления этого сообщения в формате RFC 3339, например, 2022-06-01T12:00:00.000Z.
sendTime
string (date-time)
Нет
Время, когда статус этого сообщения status изменился на sent, в формате RFC 3339, например, 2022-06-01T12:00:00.000Z.
deliverTime
string (date-time)
Нет
Время, когда статус этого сообщения status изменился на delivered, в формате RFC 3339, например, 2022-06-01T12:00:00.000Z.
readTime
string (date-time)
Нет
Время, когда статус этого сообщения status изменился на read, в формате RFC 3339, например, 2022-06-01T12:00:00.000Z.
totalPrice
number (double)
Нет
Общая стоимость этого сообщения. Примечание: цена является ориентировочной, пока значение status равно accepted или sent. Она становится окончательной после доставки сообщения, то есть когда поле status принимает значение delivered или read.
Для сообщений с максимальной ценой сумма на момент отправки является ориентировочной. Для получения окончательной суммы списания используйте событие whatsapp.message.updated со статусом delivered/read; maxBid не является окончательной суммой списания.
Тарифная категория сообщения. Примечание: категория тарификации является предварительной, пока поле status имеет значение accepted или sent. Она становится окончательной после доставки сообщения, то есть когда значение status равно delivered или read.
Тип тарификации сообщения. Это поле доступно только в режиме PMP (Per-Message Pricing).
regular: Указывает, что сообщение подлежит оплате.
free_customer_service: Указывает, что сообщение бесплатно, так как оно представляет собой шаблонное сервисное сообщение (utility) либо нешаблонное сообщение, отправленное в рамках окна обслуживания клиентов.
free_entry_point: Указывает, что сообщение бесплатно, так как оно является частью переписки через бесплатную точку входа.
Может быть пустым или иметь одно из значений: whatsapp либо verify. По умолчанию — whatsapp.
whatsapp: Указывает, что сообщение отправлено через продукт WhatsApp.
verify: Указывает, что сообщение отправлено через продукт Verify.
verificationId
string
Нет
Идентификатор верификации. Включается только в том случае, если bizType имеет значение verify.
bidPricingFlag
boolean
Нет
Значение True, если сообщение идентифицировано как аукционное сообщение Marketing Lite. Его pricingCategory имеет значение marketing_lite_bidding.
whatsappMessage.customerProfile
Параметр
Тип
Обязательный
Описание
name
string
Нет
Название аккаунта WhatsApp.
username
string
Нет
Имя пользователя WhatsApp.
whatsappMessage.conversation
Параметр
Тип
Обязательный
Описание
id
string
Нет
Уникальный идентификатор объекта.
type
string
Нет
Тип переписки. Плата взимается при доставке первого бизнес-сообщения этой переписки, которое инициирует 24-часовую сессию переписки. Таким образом, до доставки первого сообщения тип переписки может иметь значение null.
authentication: указывает, что переписка была начата бизнесом путем отправки клиенту шаблона категории AUTHENTICATION. Это применимо в любое время, если с момента последнего сообщения клиента прошло более 24 часов.
marketing: указывает, что переписка была начата бизнесом путем отправки клиенту шаблона категории MARKETING. Это применимо в любое время, если с момента последнего сообщения клиента прошло более 24 часов.
utility: указывает, что переписка была начата бизнесом путем отправки клиенту шаблона категории UTILITY. Это применимо в любое время, если с момента последнего сообщения клиента прошло более 24 часов.
service: указывает, что переписка была открыта бизнесом, ответившим клиенту в рамках окна обслуживания клиентов.
expireTime
string (date-time)
Нет
Дата истечения срока действия переписки, отформатированная в соответствии с RFC 3339, например 2022-06-01T12:00:00.000Z.
whatsappMessage.template
Параметр
Тип
Обязательный
Описание
name
string
Да
Название шаблона.
language
object
Да
Содержит объект языка. Указывает язык, на котором может отображаться шаблон.
components
object[]
Нет
Обязательно, если указанный шаблон содержит переменные или медиафайлы. Массив объектов компонентов, содержащих параметры сообщения.
whatsappMessage.template.language
Параметр
Тип
Обязательный
Описание
code
string
Да
Код используемого языка или регионального стандарта (locale). Поддерживает форматы языка и языка_локали (например, en и en_US). См. Поддерживаемые языки для списка всех кодов.
policy
string
Нет
Языковая политика, которой должно следовать сообщение. По умолчанию (и единственный поддерживаемый вариант): deterministic, что означает, что WhatsApp доставляет шаблон сообщения именно на том языке и с той локалью, которые были запрошены.
Обязательно, если type имеет значение button. Тип кнопки.
quick_reply: относится к ранее созданной кнопке быстрого ответа, которая позволяет клиенту отправить предварительно заданное сообщение.
url: относится к ранее созданной кнопке с URL-адресом, которая позволяет клиенту перейти по URL, сформированному путем добавления параметра text к заданному в шаблоне префиксу URL.
copy_code: относится к ранее созданной кнопке копирования кода, которая позволяет клиенту при нажатии копировать текстовую строку (определяемую при отправке шаблона в шаблонном сообщении) в буфер обмена устройства.
catalog: относится к ранее созданной кнопке каталога, которая позволяет клиенту просматривать ваш каталог товаров.
mpm: относится к ранее созданной кнопке MPM (сообщение с несколькими товарами), которая позволяет клиенту просматривать товары и разделы.
flow: относится к ранее созданной кнопке потока, которая позволяет клиенту взаимодействовать с flow.
order_details: относится к ранее созданной кнопке сведений о заказе, которая позволяет клиенту просматривать детали заказа.
index
integer (int32)
Нет
Обязательно, если type = button. Для остальных типов не используется. Указывает порядок отображения кнопки, если в шаблоне используется несколько кнопок. Кнопки индексируются с нуля, поэтому значение 0 приведет к тому, что кнопка отобразится первой, кнопка с индексом 1 — следующей и т. д.
Минимум: 0. Максимум: 9.
parameters
object[]
Нет
Обязательно, если type = button, либо в соответствующем компоненте шаблона есть переменные, либо формат шаблона HEADER относится к медиа (IMAGE, VIDEO или DOCUMENT). Массив объектов параметров с содержимым сообщения.
cards
object[]
Нет
Используется для компонентов carousel. Предоставляет компоненты карточек, содержащие параметры сообщения.
text: используется, когда тип компонента шаблона — BODY, либо формат компонента HEADER — TEXT.
image: используется, когда компонент шаблона HEADER имеет тип IMAGE.
gif: используется, когда компонент шаблона HEADER имеет тип GIF.
video: используется, когда компонент шаблона HEADER имеет тип VIDEO.
document: используется, когда компонент шаблона HEADER имеет тип DOCUMENT.
payload: используется, когда тип кнопки в компоненте шаблона — QUICK_REPLY.
coupon_code: используется, когда тип кнопки в компоненте шаблона — COPY_CODE.
limited_time_offer: используется, когда тип компонента шаблона — LIMITED_TIME_OFFER.
action: используется, когда тип кнопки в компоненте шаблона — CATALOG, MPM, FLOW или ORDER_DETAILS.
order_status: используется, когда подкатегория шаблона — ORDER_STATUS.
location: используется, когда компонент шаблона HEADER имеет тип LOCATION.
text
string
Нет
Обязательно, если type = text. Текст сообщения. Для компонента заголовка ограничение составляет 60 символов. Для компонента тела — 1024 символа. Для кнопок со ссылкой указывает предоставленный разработчиком суффикс, который добавляется к заранее заданному префиксу URL в шаблоне.
payload
string
Нет
Обязательно для кнопок quick_reply. Задаваемые разработчиком полезные данные (payload), возвращаемые при нажатии кнопки в дополнение к отображаемому на ней тексту.
coupon_code
string
Нет
Обязательно, если type = coupon_code. Код купона, копируемый при нажатии кнопки клиентом.
image
object
Нет
Обязательно, когда формат HEADER шаблона — IMAGE.
gif
object
Нет
Обязательно, когда формат HEADER шаблона — GIF.
video
object
Нет
Обязательно, когда формат HEADER шаблона — VIDEO.
document
object
Нет
Обязательно, когда формат HEADER шаблона — DOCUMENT.
limited_time_offer
object
Нет
Обязательно, если в шаблоне используются сведения об истечении срока действия предложения.
action
object
Нет
Обязательно, если в шаблоне используются кнопки каталога или MPM (многотоварных сообщений).
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры строки запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для указанного документа. Используйте только с медиафайлами document.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры строки запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для указанного документа. Используйте только с медиафайлами document.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры строки запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл: image, gif, video или document. Неприменимо в header для сообщений template или interactive.
filename
string
Нет
Описывает имя файла для конкретного документа. Используется только с медиафайлами document.
Необязательный параметр. Используется для шаблонных сообщений каталога и MPM. Артикул (SKU) товара. Обозначается как Content ID в Commerce Manager. Миниатюра этого товара будет использоваться в качестве изображения заголовка сообщения. Если объект parameters опущен, будет использовано изображение первого товара из вашего каталога.
sections
object[]
Нет
Используется для шаблонов MPM. Разделы товаров. Можно указать до 10 разделов.
flow_token
string
Нет
Используется для кнопок FLOW. Токен Flow, созданный компанией для использования в качестве идентификатора. По умолчанию unused.
flow_action_data
object
Нет
Используется для кнопок FLOW. Объект JSON с полезной нагрузкой данных для первого экрана.
Валюта для этого заказа. В настоящее время единственным поддерживаемым значением является INR.
order
object
Да
Предоставляет параметры заказа: status, items, subtotal, tax и т. д.
reference_id
string
Да
Уникальный идентификатор заказа, предоставленный компанией. Чувствителен к регистру, не может быть пустой строкой, может содержать только буквы латинского алфавита, цифры, знаки подчеркивания, дефисы или точки и не должен превышать 35 символов.
reference_id должен быть уникальным для каждого сообщения order_details конкретной компании. Если требуется отправить несколько сообщений order_details для одного и того же заказа, рекомендуется включить порядковый номер в reference_id (например, “BM345A-12”), чтобы обеспечить уникальность reference_id.
total_amount
object
Да
Общая сумма заказа.
type
string
Да
Тип товаров, оплачиваемых в этом заказе. В настоящее время поддерживаются варианты digital-goods и physical-goods.
Единственным поддерживаемым значением в сообщении order_details является pending. В сообщении order_status значение status может быть следующим: pending, processing, partially_shipped, shipped, completed или canceled.
type
string
Нет
Единственным поддерживаемым значением является quick_pay. Если это поле передано, мы скрываем кнопку “Review and Pay” и показываем только кнопку “Pay Now” в карточке с деталями заказа.
catalog_id
string
Нет
Уникальный идентификатор каталога Facebook, используемого компанией. Если вы не указываете это поле, необходимо передать следующие поля внутри объекта items: country_of_origin, importer_name и importer_address.
items
object[]
Нет
Массив позиций в заказе.
subtotal
object
Нет
Значение должно быть равно сумме order.amount.value * order.amount.quantity.
tax
object
Нет
Информация о налогах для этого заказа.
shipping
object
Нет
Стоимость доставки заказа.
discount
object
Нет
Сумма скидки для этого заказа.
expiration
object
Нет
Срок действия этого заказа.
description
string
Нет
Необязательно. Текст для передачи информации, связанной со статусом. Может быть полезен при отправке отмены. Максимальный лимит — 120 символов.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры строки запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл типа image, gif, video или document. Неприменимо в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для конкретного документа. Используйте только для медиафайлов document.
Положительное целое число, представляющее сумму, умноженную на коэффициент смещения (offset). Например, значение для ₹12.34 равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальное ограничение — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальное ограничение — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.
Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальный лимит — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.
Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальный лимит — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.
Тип платежа. Необходимо указать billdesk, razorpay, payu или zaakpay, если вы подключили платежный шлюз BillDesk, Razorpay, PayU или Zaakpay для приема платежей.
configuration_name
string
Да
Имя предварительно настроенной конфигурации платежей для использования в этом заказе; длина не должна превышать 60 символов. Это значение должно совпадать с конфигурацией платежей, настроенной в WhatsApp Business Manager.
Максимальная длина: 60.
billdesk
object
Нет
Дополнительная информация для BillDesk. Пользовательские поля (extra) используются для хранения любой информации, относящейся к конкретному заказу. Максимальная длина каждого поля extra составляет 120 символов.
payu
object
Нет
Дополнительная информация для PayU. Пользовательские поля (udf) используются для хранения любой информации, относящейся к конкретному заказу. Максимальная длина каждого поля UDF составляет 255 символов.
razorpay
object
Нет
Дополнительная информация для Razorpay.
zaakpay
object
Нет
Дополнительная информация для Zaakpay. Пользовательские поля (extra) используются для хранения любой информации, относящейся к конкретному заказу. Максимальная длина каждого поля extra составляет 180 символов.
Номер квитанции, соответствующий этому заказу, задаваемый для вашего внутреннего использования. Поддерживается максимальная длина до 40 символов, минимальная длина — более 0 символов.
notes
object
Нет
Объект может содержать пары «ключ-значение» максимум с 15 ключами, при этом длина каждого значения ограничена 256 символами.
Единственное поддерживаемое значение в сообщении order_details — pending. В сообщении order_status значением status может быть: pending, processing, partially_shipped, shipped, completed или canceled.
type
string
Нет
Единственное поддерживаемое значение — quick_pay. При передаче этого поля мы скрываем кнопку «Review and Pay» и отображаем в карточке с деталями заказа только кнопку «Pay Now».
catalog_id
string
Нет
Уникальный идентификатор каталога Facebook, используемого компанией. Если вы не указываете это поле, необходимо передать следующие поля внутри объекта items: country_of_origin, importer_name и importer_address.
items
object[]
Нет
Массив позиций в заказе.
subtotal
object
Нет
Значение должно быть равно сумме order.amount.value * order.amount.quantity.
tax
object
Нет
Информация о налогах для этого заказа.
shipping
object
Нет
Стоимость доставки заказа.
discount
object
Нет
Сумма скидки для этого заказа.
expiration
object
Нет
Срок действия этого заказа.
description
string
Нет
Необязательно. Текст для передачи информации о статусе. Может быть полезен при отправке отмены. Максимальный лимит составляет 120 символов.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайлов напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность содержимого, добавьте случайные параметры запроса к URL.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для конкретного документа. Используйте только с медиафайлами document.
Положительное целое число, представляющее значение суммы, умноженное на offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальное количество символов — 60.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальное количество символов — 60.
Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальное количество символов — 60.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальное количество символов — 60.
Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальное количество символов — 60.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальное количество символов — 60.
Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальное количество символов — 60.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для описания заказов со скидками и бонусами. Если заказ содержит поощрения, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.
Положительное целое число, представляющее сумму, умноженную на коэффициент смещения (offset). Например, значение ₹12.34 передается как 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальный лимит — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для описания заказов со скидками и бонусами. Если заказ содержит поощрения, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.
Обязательно, если type имеет значение button. Тип кнопки.
quick_reply: относится к ранее созданной кнопке быстрого ответа, позволяющей клиенту отправить предопределенное сообщение.
url: относится к ранее созданной кнопке URL, позволяющей клиенту перейти по URL, созданному путем добавления текстового параметра к предопределенному префиксу URL в шаблоне.
index
integer (int32)
Нет
Обязательно, если type = button. Не используется для других типов. Указывает порядок отображения кнопки, если шаблон использует несколько кнопок. Кнопки индексируются с нуля, поэтому значение 0 задаст отображение кнопки первой, кнопка с индексом 1 появится следующей и т. д.
Минимум: 0. Максимум: 9.
parameters
object[]
Нет
Обязательно, если type = button, либо если в соответствующем компоненте шаблона присутствуют переменные, либо если формат компонента карточки HEADER — медиа (IMAGE, VIDEO). Массив объектов параметров с содержимым сообщения.
text: используется, если тип компонента шаблона — BODY, либо формат компонента HEADER — TEXT.
image: используется, если компонент шаблона HEADER — IMAGE.
gif: используется, если компонент шаблона HEADER — GIF.
video: используется, если компонент шаблона HEADER — VIDEO.
document: используется, если компонент шаблона HEADER — DOCUMENT.
payload: используется, если тип кнопки компонента шаблона — QUICK_REPLY.
coupon_code: используется, если тип кнопки компонента шаблона — COPY_CODE.
limited_time_offer: используется, если тип компонента шаблона — LIMITED_TIME_OFFER.
action: используется, если тип кнопки компонента шаблона — CATALOG, MPM, FLOW или ORDER_DETAILS.
order_status: используется, если подкатегория шаблона — ORDER_STATUS.
location: используется, если компонент шаблона HEADER — LOCATION.
text
string
Нет
Обязательно, если type = text. Текст сообщения. Для компонента заголовка лимит составляет 60 символов. Для компонента тела лимит составляет 1024 символа. Для кнопок с URL указывает суффикс, заданный разработчиком, который добавляется к предварительно определенному префиксу URL в шаблоне.
payload
string
Нет
Обязательно для кнопок quick_reply. Задаваемая разработчиком полезная нагрузка (payload), возвращаемая при нажатии на кнопку в дополнение к отображаемому тексту на кнопке.
coupon_code
string
Нет
Обязательно, если type = coupon_code. Код купона, копируемый при нажатии клиентом на кнопку.
image
object
Нет
Обязательно, если формат шаблона HEADER — IMAGE.
gif
object
Нет
Обязательно, если формат шаблона HEADER — GIF.
video
object
Нет
Обязательно, если формат шаблона HEADER — VIDEO.
document
object
Нет
Обязательно, если формат шаблона HEADER — DOCUMENT.
limited_time_offer
object
Нет
Обязательно, если шаблон использует сведения об истечении срока действия предложения.
action
object
Нет
Обязательно, если шаблон использует кнопки каталога или MPM (многотоварных сообщений).
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для указанного документа. Используется только с медиафайлами типа document.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для указанного документа. Используется только с медиафайлами типа document.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайлов напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры строки запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применимо в header сообщений типа template или interactive.
filename
string
Нет
Описывает имя файла для указанного документа. Используется только с медиафайлами document.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайлов напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры строки запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применимо в header сообщений типа template или interactive.
filename
string
Нет
Описывает имя файла для указанного документа. Используется только с медиафайлами document.
Необязательный параметр. Используется для шаблонных сообщений каталога и MPM. Артикул товара (SKU). В Commerce Manager обозначается как Content ID. Миниатюра этого товара будет использоваться в качестве изображения заголовка сообщения. Если объект parameters опущен, будет использовано изображение первого товара из вашего каталога.
sections
object[]
Нет
Используется для MPM-шаблонов. Секции товаров. Можно указать до 10 секций.
flow_token
string
Нет
Используется для кнопок FLOW. Токен Flow, генерируемый компанией для использования в качестве идентификатора. По умолчанию: unused.
flow_action_data
object
Нет
Используется для кнопок FLOW. JSON-объект с полезной нагрузкой данных для первого экрана.
Валюта для этого заказа. В настоящее время единственным поддерживаемым значением является INR.
order
object
Да
Предоставляет status, items, subtotal, tax заказа и т. д.
reference_id
string
Да
Уникальный идентификатор заказа, предоставленный компанией. Чувствителен к регистру, не может быть пустой строкой, может содержать только латинские буквы, цифры, знаки подчеркивания, дефисы или точки и не должен превышать 35 символов.
reference_id должен быть уникальным для каждого сообщения order_details определенной компании. Если необходимо отправить несколько сообщений order_details для одного и того же заказа, рекомендуется включить порядковый номер в reference_id (например, “BM345A-12”), чтобы обеспечить уникальность reference_id.
total_amount
object
Да
Общая сумма заказа.
type
string
Да
Тип товаров, оплачиваемых в этом заказе. В настоящее время поддерживаются варианты digital-goods и physical-goods.
Единственным поддерживаемым значением в сообщении order_details является pending. В сообщении order_status поле status может иметь значения: pending, processing, partially_shipped, shipped, completed или canceled.
type
string
Нет
Единственное поддерживаемое значение: quick_pay. При передаче этого поля мы скрываем кнопку “Review and Pay” и показываем только кнопку “Pay Now” во всплывающем сообщении с деталями заказа.
catalog_id
string
Нет
Уникальный идентификатор каталога Facebook, используемого компанией. Если вы не укажете это поле, необходимо предоставить следующие поля внутри объекта items: country_of_origin, importer_name и importer_address.
items
object[]
Нет
Массив позиций в заказе.
subtotal
object
Нет
Значение должно быть равно сумме order.amount.value * order.amount.quantity.
tax
object
Нет
Информация о налогах для этого заказа.
shipping
object
Нет
Стоимость доставки заказа.
discount
object
Нет
Сумма скидки для этого заказа.
expiration
object
Нет
Срок действия этого заказа.
description
string
Нет
Необязательно. Текст для передачи информации о статусе. Может быть полезен при отправке отмены. Максимальный лимит — 120 символов.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только URL с протоколами HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл: image, gif, video или document. Неприменимо для сообщений header типа template или interactive.
filename
string
Нет
Описывает имя файла для указанного документа. Используйте только с медиафайлами document.
Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используется только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используется только для discount. Текст, определяющий стимулированные заказы. Если заказ стимулированный, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используется только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используется только для discount. Текст, определяющий стимулированные заказы. Если заказ стимулированный, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используется только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используется только для discount. Текст, определяющий стимулированные заказы. Если заказ стимулированный, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на коэффициент offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст для обозначения поощрительных заказов (со скидкой). Если заказ содержит поощрение, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на коэффициент offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст для обозначения поощрительных заказов (со скидкой). Если заказ содержит поощрение, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на коэффициент offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст для обозначения поощрительных заказов (со скидкой). Если заказ содержит поощрение, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 соответствует значению 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения стимулированных заказов. Если заказ поощрительный (со скидкой/бонусом), продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.
Тип платежа. Необходимо указать billdesk, razorpay, payu или zaakpay, если вы подключили платежный шлюз BillDesk, Razorpay, PayU или Zaakpay для приема платежей.
configuration_name
string
Да
Имя предварительно настроенной конфигурации платежей для этого заказа; длина не должна превышать 60 символов. Это значение должно совпадать с конфигурацией платежей, настроенной в WhatsApp Business Manager.
Максимальная длина: 60.
billdesk
object
Нет
Дополнительная информация для BillDesk. Пользовательские поля (extra) используются для сохранения любых сведений, относящихся к конкретному заказу. Максимальная длина каждого поля extra составляет 120 символов.
payu
object
Нет
Дополнительная информация для PayU. Пользовательские поля (udf) используются для сохранения любых сведений, относящихся к конкретному заказу. Максимальная длина каждого поля UDF составляет 255 символов.
razorpay
object
Нет
Дополнительная информация для Razorpay.
zaakpay
object
Нет
Дополнительная информация для Zaakpay. Пользовательские поля (extra) используются для сохранения любых сведений, относящихся к конкретному заказу. Максимальная длина каждого поля extra составляет 180 символов.
Номер квитанции, соответствующий этому заказу, заданный для внутреннего использования. Поддерживается максимальная длина до 40 символов, минимальная длина должна быть больше 0 символов.
notes
object
Нет
Объект может содержать пары «ключ-значение» максимум с 15 ключами, при этом длина каждого значения ограничена 256 символами.
Единственное поддерживаемое значение в сообщении order_details — pending. В сообщении order_status поле status может быть: pending, processing, partially_shipped, shipped, completed или canceled.
type
string
Нет
Единственное поддерживаемое значение — quick_pay. Когда это поле передано, мы скрываем кнопку «Review and Pay» и отображаем только кнопку «Pay Now» во всплывающем блоке сведений о заказе.
catalog_id
string
Нет
Уникальный идентификатор каталога Facebook, используемого бизнесом. Если вы не укажете это поле, вы должны указать следующие поля внутри объекта items: country_of_origin, importer_name и importer_address.
items
object[]
Нет
Массив позиций в заказе.
subtotal
object
Нет
Значение должно быть равно сумме order.amount.value * order.amount.quantity.
tax
object
Нет
Информация о налогах для этого заказа.
shipping
object
Нет
Стоимость доставки заказа.
discount
object
Нет
Сумма скидки для этого заказа.
expiration
object
Нет
Срок действия этого заказа.
description
string
Нет
Необязательно. Текст для передачи информации, связанной со статусом. Может быть полезен при отправке отмены. Максимальный лимит составляет 120 символов.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id.
link
string
Нет
Используйте это поле при отправке медиафайлов напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с URL-адресами HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение самого актуального контента, добавляйте к URL случайные параметры запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для конкретного документа. Используется только с медиафайлами document.
Положительное целое число, представляющее сумму, умноженную на смещение (offset). Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на смещение (offset). Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на смещение (offset). Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальный лимит — 60 символов.
Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальный лимит — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальный лимит — 60 символов.
Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальный лимит — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальный лимит — 60 символов.
Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальный лимит — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальный лимит — 60 символов.
Адрес местоположения. Отображается только при наличии name.
whatsappMessage.text
Параметр
Тип
Обязательный
Описание
body
string
Да
Обязательно для текстовых сообщений. Текст текстового сообщения, который может содержать URL-адреса, начинающиеся с http:// или https://, а также форматирование. Ознакомьтесь с доступными вариантами форматирования здесь. Если вы включаете URL-адреса в текст и хотите добавить блок предварительного просмотра в текстовые сообщения (preview_url: true), убедитесь, что URL-адрес начинается с http:// или https:// — предпочтительны адреса с https://. Необходимо указать имя хоста, так как IP-адреса не распознаются. Максимальная длина: 4096 символов.
Максимальная длина: 4096.
preview_url
boolean
Нет
По умолчанию WhatsApp распознает URL-адреса и делает их кликабельными, но вы также можете включить блок предварительного просмотра с дополнительной информацией о ссылке. Установите для этого поля значение true, если хотите включить блок предварительного просмотра URL. В большинстве случаев получатель увидит URL-адрес, по которому можно перейти, когда вы отправляете URL, устанавливаете для preview_url значение true и передаете объект body со ссылкой http или https. Предварительный просмотр URL отображается только после выполнения одного из следующих условий:
Бизнес отправил пользователю шаблон сообщения.
Пользователь начинает переписку по ссылке «чат в один клик».
Пользователь добавляет номер телефона бизнеса в свою адресную книгу и начинает переписку. По умолчанию: false.
whatsappMessage.image
Параметр
Тип
Обязательный
Описание
id
string
Нет
Используйте это, когда медиафайл загружен на серверы WhatsApp.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайлов напрямую со своего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с HTTP/HTTPS URL.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры строки запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, id имеет приоритет, а link игнорируется.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для указанного документа. Используется только с медиафайлами document.
whatsappMessage.video
Параметр
Тип
Обязательный
Описание
id
string
Нет
Используйте этот параметр, если медиафайл загружен на серверы WhatsApp.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с URL-адресами HTTP/HTTPS.
Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры запроса.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений template или interactive.
filename
string
Нет
Задает имя файла для конкретного документа. Используйте только для медиафайлов document.
whatsappMessage.audio
Параметр
Тип
Обязательный
Описание
id
string
Нет
Используйте этот параметр, если медиафайл загружен на серверы WhatsApp.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с URL-адресами HTTP/HTTPS.
Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры запроса.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений template или interactive.
filename
string
Нет
Задает имя файла для конкретного документа. Используйте только для медиафайлов document.
whatsappMessage.document
Параметр
Тип
Обязательный
Описание
id
string
Нет
Используйте этот параметр, если медиафайл загружен на серверы WhatsApp.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с URL-адресами HTTP/HTTPS.
Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры запроса.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл: image, gif, video или document. Не применимо в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для конкретного документа. Используется только с медиафайлами document.
whatsappMessage.sticker
Параметр
Тип
Обязательный
Описание
id
string
Нет
Используйте это, когда медиафайл загружен на серверы WhatsApp.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры запроса.
Примечание: необходимо указать либо id, либо link. Если указаны оба, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл: image, gif, video или document. Не применимо в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для конкретного документа. Используется только с медиафайлами document.
whatsappMessage.location
Параметр
Тип
Обязательный
Описание
latitude
number (double)
Да
Широта местоположения.
longitude
number (double)
Да
Долгота местоположения.
name
string
Нет
Название местоположения.
address
string
Нет
Адрес местоположения. Отображается только в том случае, если присутствует name.
whatsappMessage.interactive
Параметр
Тип
Обязательный
Описание
type
string
Нет
Обязательный. Тип интерактивного сообщения, которое вы хотите отправить.
button: используется для Reply Buttons.
list: используется для List Messages.
cta_url: используется для Call-To-Action (CTA) URL Button Messages.
product: используется для Single Product Messages.
product_list: используется для Multi-Product Messages.
catalog_message: используется для Catalog Messages.
location_request_message: используется для Location Request Messages.
order_details: используется для Order Details Messages.
order_status: используется для Order Status Messages.
voice_call: используется для Voice Call Messages.
flow: используется для Flow Messages.
action
object
Нет
Обязательный. Действие, которое должен выполнить пользователь после прочтения сообщения interactive.
body
object
Нет
Необязательно для типа product. Обязательно для других типов сообщений.
header
object
Нет
Обязательно для типа product_list. Необязательно для других типов.
footer
object
Нет
Необязательно. Объект с нижним колонтитулом (footer) сообщения.
whatsappMessage.interactive.action
Параметр
Тип
Обязательный
Описание
buttons
object[]
Нет
Обязательно для кнопок ответа (Reply Buttons). Можно добавить до 3 кнопок.
button
string
Нет
Обязательно для сообщений со списком (List Messages). Текст кнопки. Не может быть пустой строкой и должен быть уникальным в пределах сообщения. Эмодзи поддерживаются, форматирование markdown — нет. Максимальная длина: 20 символов.
Максимальная длина: 20.
catalog_id
string
Нет
Обязательно для сообщений с одним товаром (Single Product Messages) и несколькими товарами (Multi-Product Messages). Уникальный идентификатор каталога Facebook, привязанного к вашему WhatsApp Business Account. Этот ID можно получить через Meta Commerce Manager.
product_retailer_id
string
Нет
Обязательно для сообщений с одним товаром (Single Product Messages) и несколькими товарами (Multi-Product Messages). Уникальный идентификатор товара в каталоге.
sections
object[]
Нет
Обязательно для сообщений со списком (List Messages) и сообщений с несколькими товарами (Multi-Product Messages). Массив объектов разделов. Минимум 1, максимум 10.
name
string
Нет
Название действия. Обязательно для кнопок с призывом к действию (CTA).
cta_url: используется для кнопок-ссылок с призывом к действию (CTA URL).
catalog_message: используется для сообщений каталога (Catalog Messages).
send_location: используется для кнопок запроса геопозиции (Location Request).
flow: используется для кнопок Flow.
review_and_pay: используется для кнопок деталей заказа (Order Details).
review_order: используется для кнопок статуса заказа (Order Status).
voice_call: используется для кнопок голосового вызова (Voice Call).
parameters
object
Нет
Параметры действия. Обязательно для кнопок с призывом к действию (CTA).
whatsappMessage.interactive.action.buttons[]
Параметр
Тип
Обязательный
Описание
type
string
Нет
Единственный поддерживаемый тип — reply (для кнопки ответа Reply Button).
Заголовок кнопки. Не может быть пустой строкой и должен быть уникальным в пределах сообщения. Эмодзи поддерживаются, форматирование markdown — нет. Максимальная длина: 20 символов.
Максимальная длина: 20.
id
string
Нет
Уникальный идентификатор кнопки. Этот ID возвращается в Webhook при нажатии кнопки пользователем. Максимальная длина: 256 символов. Пробелы в начале или конце идентификатора не допускаются.
Максимальная длина: 256.
whatsappMessage.interactive.action.sections[]
Параметр
Тип
Обязательный
Описание
title
string
Нет
Обязательно, если сообщение содержит более одного раздела. Заголовок раздела. Максимальная длина: 24 символа.
Максимальная длина: 24.
rows
object[]
Нет
Содержит список строк. Во всех разделах в сумме может быть до 10 строк. У каждой строки должен быть заголовок (максимальная длина: 24 символа) и ID (максимальная длина: 200 символов). Вы можете добавить описание (максимальная длина: 72 символа), но оно необязательно.
product_items
object[]
Нет
Обязательно для сообщений с несколькими товарами (Multi-Product Messages). Массив объектов товаров. Минимум 1 товар на секцию и максимум 30 товаров во всех секциях.
Обязательно для сообщений с несколькими товарами (Multi-Product Messages). Уникальный идентификатор товара в каталоге.
whatsappMessage.interactive.action.parameters
Параметр
Тип
Обязательный
Описание
display_text
string
Нет
Текст кнопки CTA URL. Максимальная длина: 20 байт.
Максимальная длина: 20.
url
string
Нет
URL кнопки CTA URL.
thumbnail_product_retailer_id
string
Нет
Артикул (SKU) товара. Имеет метку Content ID в Commerce Manager. Миниатюра этого товара будет использоваться в качестве изображения заголовка сообщения.
flow_message_version
string
Нет
Используется для кнопок flow. Значение должно быть “3”.
flow_token
string
Нет
Используется для кнопок flow. Токен Flow, создаваемый компанией для использования в качестве идентификатора. По умолчанию: unused.
flow_id
string
Нет
Условно обязательно для кнопок flow. Уникальный идентификатор Flow, предоставленный WhatsApp. Не может использоваться вместе с параметром flow_name.
flow_name
string
Нет
Условно обязательно для кнопок flow. Название созданного вами Flow. Не может использоваться вместе с параметром flow_id. При изменении названия Flow потребуется обновить этот параметр в соответствии с новым названием.
flow_cta
string
Нет
Обязательно для кнопок flow. Текст на кнопке CTA. Например: “Open flow!”. Максимальная длина: 20 символов.
Максимальная длина: 20.
flow_action
string
Нет
Используется для кнопок flow. Либо navigate, либо data_exchange. По умолчанию: navigate.
flow_action_payload
object
Нет
Обязательно, если flow_action имеет значение navigate. В противном случае параметр должен быть опущен.
reference_id
string
Нет
Обязательно для кнопок review_ и _pay. Уникальный идентификатор заказа, предоставляемый компанией. Чувствителен к регистру, не может быть пустой строкой, может содержать только латинские буквы, цифры, знаки подчеркивания, дефисы или точки и не должен превышать 35 символов.
Параметр reference_id должен быть уникальным для каждого сообщения order_details для данной компании. Если необходимо отправить несколько сообщений order_details для одного и того же заказа, рекомендуется включить порядковый номер в reference_id (например, “BM345A-12”) для обеспечения уникальности reference_id.
type
string
Нет
Обязательно для кнопок review_and_pay. Тип товаров, оплачиваемых в этом заказе. В настоящее время поддерживаются варианты digital-goods и physical-goods.
beneficiaries
object[]
Нет
Обязательно для кнопок review_and_pay. Массив получателей (бенефициаров) для этого заказа. Получатель — это предполагаемый адресат для доставки физических товаров из заказа. Информация о получателе не отображается пользователям, но требуется по юридическим причинам и требованиям комплаенса.
currency
string
Нет
Обязательно для кнопок review_and_pay. Валюта для этого заказа. В настоящее время единственным поддерживаемым значением является INR.
total_amount
object
Нет
Обязательно для кнопок review_and_pay. Общая сумма для этого заказа.
order
object
Нет
Обязательно для кнопок review_and_pay или review_order.
Для кнопок review_and_pay предоставляет сведения о заказе: status, items, subtotal, tax и т. д.
Для кнопок review_order предоставляет только status и description заказа.
payment_settings
object[]
Нет
Обязательно для кнопок review_and_pay. Параметры оплаты заказа.
Положительное целое число, представляющее значение суммы, умноженное на смещение. Например, ₹12.34 имеет значение 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальный лимит символов — 60.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для описания поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальный лимит символов — 60.
Единственное поддерживаемое значение в сообщении order_details — pending. В сообщении order_status значение status может быть: pending, processing, partially_shipped, shipped, completed или canceled.
type
string
Нет
Единственное поддерживаемое значение — quick_pay. При передаче этого поля кнопка «Review and Pay» скрывается, и в блоке с деталями заказа отображается только кнопка «Pay Now».
catalog_id
string
Нет
Уникальный идентификатор каталога Facebook, используемого компанией. Если вы не укажете это поле, необходимо передать следующие поля внутри объекта items: country_of_origin, importer_name и importer_address.
items
object[]
Нет
Массив позиций в заказе.
subtotal
object
Нет
Значение должно быть равно сумме order.amount.value * order.amount.quantity.
tax
object
Нет
Информация о налогах для этого заказа.
shipping
object
Нет
Стоимость доставки заказа.
discount
object
Нет
Сумма скидки для этого заказа.
expiration
object
Нет
Срок действия этого заказа.
description
string
Нет
Необязательно. Текст для передачи информации о статусе. Может быть полезен при отправке отмены. Максимальный лимит символов — 120.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте это при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.
Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального контента, добавляйте случайные строки параметров запроса (query strings) к URL.
Примечание: необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для конкретного документа. Используйте только для медиафайлов типа document.
Положительное целое число, представляющее сумму, умноженную на offset. Например, значение для ₹12.34 равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальный лимит — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения стимулированных заказов. Если заказ является стимулированным, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, значение для ₹12.34 равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальный лимит — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для определения стимулированных заказов. Если заказ является стимулированным, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, значение для ₹12.34 равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.
Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.
description
string
Нет
Используйте только для tax, shipping или discount. Описание суммы. Максимальная длина — 60 символов.
Максимальная длина: 60.
discount_program_name
string
Нет
Используйте только для discount. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.
Тип платежа. Необходимо указать billdesk, razorpay, payu или zaakpay, если вы подключили платежный шлюз BillDesk, Razorpay, PayU или Zaakpay для приема платежей.
configuration_name
string
Да
Название предварительно настроенной конфигурации платежей, используемой для этого заказа; длина не должна превышать 60 символов. Это значение должно совпадать с конфигурацией платежей, настроенной в WhatsApp Business Manager.
Максимальная длина: 60.
billdesk
object
Нет
Дополнительная информация для BillDesk. Пользовательские поля (extra) используются для хранения любой информации, относящейся к конкретному заказу. Каждое поле extra может содержать не более 120 символов.
payu
object
Нет
Дополнительная информация для PayU. Пользовательские поля (udf) используются для хранения любой информации, относящейся к конкретному заказу. Каждое поле UDF может содержать не более 255 символов.
razorpay
object
Нет
Дополнительная информация для Razorpay.
zaakpay
object
Нет
Дополнительная информация для Zaakpay. Пользовательские поля (extra) используются для хранения любой информации, относящейся к конкретному заказу. Каждое поле extra может содержать не более 180 символов.
Номер квитанции, соответствующий этому заказу, задаваемый для вашей внутренней отчетности. Поддерживается максимальная длина 40 символов при минимальной длине более 0 символов.
notes
object
Нет
Объект может представлять собой пары «ключ-значение» максимум с 15 ключами, при этом длина каждого значения ограничена 256 символами.
Пользовательская информация об этом заказе для Zaakpay.
Максимальная длина: 180 символов.
extra2
string
Нет
Пользовательская информация об этом заказе для Zaakpay.
Максимальная длина: 180 символов.
whatsappMessage.interactive.body
Параметр
Тип
Обязательный
Описание
text
string
Нет
Основной текст сообщения. Поддерживаются эмодзи и markdown. Максимальная длина: 1024 символа.
Максимальная длина: 1024.
whatsappMessage.interactive.header
Параметр
Тип
Обязательный
Описание
type
string
Нет
Обязательно. Тип заголовка, который вы хотите использовать.
text: используется для сообщений со списком (List Messages), кнопок ответа (Reply Buttons) и сообщений с несколькими товарами (Multi-Product Messages).
video: используется для кнопок ответа (Reply Buttons).
image: используется для кнопок ответа (Reply Buttons).
document: используется для кнопок ответа (Reply Buttons).
text
string
Нет
Текст для заголовка. Форматирование поддерживает эмодзи, но не markdown.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.
Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального контента, добавляйте к URL случайные параметры запроса.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений типа template или interactive.
filename
string
Нет
Описывает имя файла для конкретного документа. Используется только с медиафайлами типа document.
whatsappMessage.interactive.header.video
Параметр
Тип
Обязательный
Описание
id
string
Нет
Используйте этот параметр, если медиафайл загружен на серверы WhatsApp.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.
Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального контента, добавляйте к URL случайные параметры запроса.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применяется в header сообщений типа template или interactive.
filename
string
Нет
Описывает имя файла для конкретного документа. Используется только с медиафайлами типа document.
whatsappMessage.interactive.header.document
Параметр
Тип
Обязательный
Описание
id
string
Нет
Используйте этот параметр, если медиафайл загружен на серверы WhatsApp.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id.
link
string
Нет
Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.
Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.
Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального контента, добавляйте к URL случайные параметры запроса.
Примечание. Необходимо указать либо id, либо link. Если указаны оба параметра, приоритет имеет id, а link будет проигнорирован.
caption
string
Нет
Описывает указанный медиафайл image, gif, video или document. Не применимо в header сообщений template или interactive.
filename
string
Нет
Описывает имя файла для конкретного документа. Используется только с медиафайлами document.
whatsappMessage.interactive.footer
whatsappMessage.contacts[]
Параметр
Тип
Обязательный
Описание
addresses
object[]
Нет
Элементы массива описаны ниже.
birthday
string
Нет
Строка в формате YYYY-MM-DD.
emails
object[]
Нет
Элементы массива описаны ниже.
name
object
Да
Полное имя контакта, отформатированное как объект name.
org
object
Нет
Информация об организации контакта, отформатированная как объект org.
phones
object[]
Нет
Номер(а) телефона контакта, отформатированные как объект phone.
urls
object[]
Нет
URL-адрес(а) контакта, отформатированные как объект urls.
vcard
string
Нет
Необязательная визитная карточка vCard, переданная вместе с полезной нагрузкой общего контакта.
origin
string
Нет
Устанавливается в contact_request, когда пользователь поделился контактом в ответ на сообщение с запросом контактных данных.
whatsappMessage.contacts[].addresses[]
Параметр
Тип
Обязательный
Описание
street
string
Нет
Номер дома и название улицы.
city
string
Нет
Название города.
state
string
Нет
Аббревиатура штата/региона.
zip
string
Нет
Почтовый индекс.
country
string
Нет
Полное название страны.
country_code
string
Нет
Двухбуквенный код страны.
type
string
Нет
Стандартные значения: HOME и WORK.
whatsappMessage.contacts[].emails[]
Параметр
Тип
Обязательный
Описание
email
string
Нет
Адрес электронной почты.
type
string
Нет
Стандартные значения: HOME и WORK.
whatsappMessage.contacts[].name
Параметр
Тип
Обязательный
Описание
formatted_name
string
Да
Полное имя в его обычном виде.
first_name
string
Нет
Имя.
last_name
string
Нет
Фамилия.
middle_name
string
Нет
Второе имя (отчество).
suffix
string
Нет
Суффикс имени.
prefix
string
Нет
Префикс имени.
whatsappMessage.contacts[].org
Параметр
Тип
Обязательный
Описание
company
string
Нет
Название компании контакта.
department
string
Нет
Название отдела контакта.
title
string
Нет
Должность контакта в компании.
whatsappMessage.contacts[].phones[]
Параметр
Тип
Обязательный
Описание
phone
string
Нет
Автоматически заполняется значением wa_id в виде отформатированного номера телефона.
type
string
Нет
Стандартные значения: CELL, MAIN, IPHONE, HOME и WORK.
Обязательно при отправке сообщения reaction. Установите значение "", если хотите удалить эмодзи. Необязательно при получении сообщения от пользователя. Это поле передается, когда пользователь реагирует на сообщения с помощью эмодзи. В противном случае это указывает на то, что пользователь удалил эмодзи.
whatsappMessage.context
Параметр
Тип
Обязательный
Описание
message_id
string
Нет
Задает wamid сообщения, на которое вы отвечаете. wamid — это исходный идентификатор сообщения на платформе WhatsApp.
whatsappMessage.whatsappApiError
Параметр
Тип
Обязательный
Описание
message
string
Да
Удобочитаемое описание ошибки.
code
string
Да
Код ошибки.
type
string
Нет
Тип ошибки.
error_subcode
string
Нет
Дополнительный код ошибки.
error_user_msg
string
Нет
Сообщение для отображения пользователю. Язык сообщения определяется локалью API-запроса.
error_user_title
string
Нет
Заголовок диалогового окна, если оно отображается. Язык сообщения определяется локалью API-запроса.
fbtrace_id
string
Нет
Внутренний идентификатор службы поддержки. При сообщении об ошибке, связанной с вызовом Graph API, укажите fbtrace_id, чтобы помочь нам найти данные в логах для отладки.
error_data
string or object
Нет
Дополнительные данные об ошибке. Строка или ассоциативный массив (map).
Для API шаблонов это поле представляет собой строку с описанием причины ошибки.
Для API сообщений это поле представляет собой map со свойством details, описывающим причину ошибки.
Следующий фрагмент JSON представляет собой тело, доставленное вашему получателю. Идентификаторы, номера телефонов и другие значения аккаунта приведены в качестве примера.
Входящее сообщение из истории
Входящее сообщение из истории использует whatsappInboundMessage. phase и progress сообщают о синхронизации фрагмента истории.
Фрагмент истории, содержащий только метаданные, сообщает о phase и progress без какого-либо объекта сообщения. Не обрабатывайте эту структуру данных как полезную нагрузку создания или дублирования (эха) сообщения.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"YCloud Docs","description":"YCloud product documentation, API reference, and webhook payload documentation.","colors":{"primary":"#602DED","light":"#FD4C7D","dark":"#1a1e22"},"logo":{"light":"https://mintcdn.com/lchnan/AXn0jsI-c5aPnOMW/logo/light.png?fit=max\u0026auto=format\u0026n=AXn0jsI-c5aPnOMW\u0026q=85\u0026s=0865e4207d765d07a769c29bc819adbe","dark":"https://mintcdn.com/lchnan/AXn0jsI-c5aPnOMW/logo/dark.png?fit=max\u0026auto=format\u0026n=AXn0jsI-c5aPnOMW\u0026q=85\u0026s=1bafffbe886c0ac13b0409dc90d446f8","href":"https://www.ycloud.com"},"favicon":"https://mintcdn.com/lchnan/AXn0jsI-c5aPnOMW/favicon.png?fit=max\u0026auto=format\u0026n=AXn0jsI-c5aPnOMW\u0026q=85\u0026s=1eed9e0b562f4b06368d2b8185b801b4","api":{"openapi":["openapi/endpoints/ycloud-api-v2.yaml","openapi/webhooks/testing-webhooks.yaml"],"params":{"expanded":"closed"},"playground":{"display":"interactive"},"examples":{"defaults":"required","prefill":true,"autogenerate":false},"url":"full"},"background":{"color":{"light":"#ffffff"}},"navbar":{"links":[{"href":"https://www.ycloud.com/customer-support","label":"Support"},{"href":"https://www.ycloud.com/pricing","label":"Pricing"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.ycloud.com/console"}},"seo":{"indexing":"all"},"fonts":{"heading":{"family":"Inter","weight":650},"body":{"family":"Inter","weight":450}},"icons":{"library":"fontawesome"},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":true},"errors":{"404":{"redirect":true}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"schema":true},"navigation":{"languages":[{"language":"en","default":true,"href":"en/documentation/overview"},{"language":"zh","href":"zh/documentation/overview"},{"language":"es","href":"es/documentation/overview"},{"language":"pt","href":"pt/documentation/overview"},{"language":"ru","href":"ru/documentation/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lchnan","hasAudioNarration":false,"actualSubdomain":"lchnan","customDomains":["docs.ycloud.com"],"gitSource":{"type":"github","owner":"ycloud-developers","repo":"ycloud_docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"collectionId":"125d1ee6-8449-4ab6-a3d9-6bac870b3098","liveDeploymentHistoryId":"6aeccc1890fdd8a86a9d22e4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeccc1890fdd8a86a9d22e4"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aeccc1890fdd8a86a9d22e4","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"en","tag":"Documentation","count":242},{"language":"es","tag":"Documentación","count":241},{"language":"pt","tag":"Documentação","count":241},{"language":"ru","tag":"Документация","count":241},{"language":"zh","tag":"产品文档","count":241},{"language":"default","tag":"API Reference","count":166},{"language":"default","tag":"Endpoints","count":166},{"language":"en","tag":"API Reference","count":90},{"language":"es","tag":"Referencia de la API","count":90},{"language":"pt","tag":"Referência da API","count":90},{"language":"ru","tag":"Справочник API","count":90},{"language":"zh","tag":"API 参考","count":90},{"language":"default","tag":"Meta Business Agent","count":63},{"language":"en","tag":"Channels","count":60},{"language":"es","tag":"Gestión de cuentas de WhatsApp","count":54},{"language":"pt","tag":"Gerenciamento de contas do WhatsApp","count":54},{"language":"ru","tag":"Управление аккаунтами WhatsApp","count":54},{"language":"zh","tag":"WhatsApp 账号管理","count":54},{"language":"en","tag":"Webhook reference","count":47},{"language":"es","tag":"Webhook reference","count":47},{"language":"pt","tag":"Webhook reference","count":47},{"language":"ru","tag":"Webhook reference","count":47},{"language":"zh","tag":"Webhook reference","count":47},{"language":"en","tag":"Integrations","count":43},{"language":"es","tag":"Integraciones","count":43},{"language":"pt","tag":"Integrações","count":43},{"language":"ru","tag":"Интеграции","count":43},{"language":"zh","tag":"集成","count":43},{"language":"default","tag":"Configure","count":43},{"language":"en","tag":"WhatsApp Business Platform","count":40},{"language":"es","tag":"WhatsApp Business Platform","count":40},{"language":"pt","tag":"WhatsApp Business Platform","count":40},{"language":"ru","tag":"Платформа WhatsApp Business","count":40},{"language":"zh","tag":"WhatsApp 商业平台","count":40},{"language":"en","tag":"Guides","count":39},{"language":"es","tag":"Guías","count":39},{"language":"pt","tag":"Guias","count":39},{"language":"ru","tag":"Руководства","count":39},{"language":"zh","tag":"指南","count":39},{"language":"es","tag":"Canales","count":32},{"language":"pt","tag":"Canais","count":32},{"language":"ru","tag":"Каналы","count":32},{"language":"zh","tag":"渠道","count":32},{"language":"en","tag":"WhatsApp Accounts Management","count":28},{"language":"en","tag":"Agents","count":26},{"language":"es","tag":"Agentes","count":26},{"language":"pt","tag":"Agentes","count":26},{"language":"ru","tag":"Агенты","count":26},{"language":"zh","tag":"智能体","count":26},{"language":"en","tag":"Inbox","count":19},{"language":"es","tag":"Bandeja de entrada","count":19},{"language":"pt","tag":"Caixa de entrada","count":19},{"language":"ru","tag":"Входящие","count":19},{"language":"zh","tag":"收件箱","count":19},{"language":"default","tag":"WhatsApp Phone Numbers","count":16},{"language":"default","tag":"WhatsApp Groups","count":12},{"language":"default","tag":"Contacts","count":10},{"language":"default","tag":"Operate","count":10},{"language":"default","tag":"Connectors","count":10},{"language":"default","tag":"Onboard","count":9}],"searchSettings":{"isFiltersEnabled":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"ru/api-reference/webhook-reference/whatsapp-smb-history","slug":"/ru/api-reference/webhook-reference/whatsapp-smb-history","pageMetadata":{"title":"whatsapp.smb.history","sidebarTitle":"smb.history","description":"Происходит при синхронизации истории сообщений WhatsApp Business App.","href":"/ru/api-reference/webhook-reference/whatsapp-smb-history"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Происходит при синхронизации истории сообщений WhatsApp Business App.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Используйте `,_jsx(_components.code,{children:`whatsapp.smb.history`}),` для обработки этого события на вашей конечной точке webhook.`]}),`\n`,_jsx(Heading,{level:`2`,id:`триггеры`,children:`Триггеры`}),`\n`,_jsx(_components.p,{children:`Происходит при синхронизации истории сообщений WhatsApp Business App.`}),`\n`,_jsxs(_components.p,{children:[`Подпишитесь на `,_jsx(_components.code,{children:`whatsapp.smb.history`}),`, когда будете `,_jsx(_components.a,{href:`/ru/api-reference/guides/api-fundamentals/configure-webhooks`,children:`настраивать свою конечную точку webhook`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Событие истории может содержать `,_jsx(_components.code,{children:`whatsappInboundMessage`}),` для входящего сообщения, `,_jsx(_components.code,{children:`whatsappMessage`}),` для исходящего сообщения или только метаданные фрагмента (chunk). `,_jsx(_components.code,{children:`phase`}),` и `,_jsx(_components.code,{children:`progress`}),` включаются, когда событие поступает из фрагмента истории Meta. Не делайте наличие объекта сообщения обязательным в каждом событии истории.`]}),`\n`,_jsx(Heading,{level:`2`,id:`синтаксис`,children:`Синтаксис`}),`\n`,_jsxs(_components.p,{children:[`YCloud отправляет HTTP-запрос `,_jsx(_components.code,{children:`POST`}),` на настроенный вами URL webhook. Следующая структура демонстрирует один из вариантов полезной нагрузки. Значения в угловых скобках являются заполнителями; их типы перечислены в разделе `,_jsx(_components.strong,{children:`Параметры`}),`. Необязательные поля и другие варианты описаны ниже.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`23`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cID>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cAPI_VERSION>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cCREATE_TIME>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cPHASE_VALUE>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cPROGRESS_VALUE>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"whatsappInboundMessage\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cID>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wamid\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cWAMID>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wabaId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cWABA_ID>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cFROM>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cTO>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cTYPE>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cBODY>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"customerProfile\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cNAME>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sendTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cSEND_TIME>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`параметры`,children:`Параметры`}),`\n`,_jsxs(_components.p,{children:[`Проверьте HTTP-заголовок `,_jsx(_components.code,{children:`YCloud-Signature`}),` перед обработкой тела JSON. См. раздел `,_jsx(_components.a,{href:`/ru/api-reference/guides/api-fundamentals/configure-webhooks`,children:`проверка подписи`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`конверт-события-envelope`,children:`Конверт события (envelope)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Уникальный ID события. Минимальная длина: `,_jsx(_components.code,{children:`6`}),`. Максимальная длина: `,_jsx(_components.code,{children:`128`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Всегда `,_jsx(_components.code,{children:`whatsapp.smb.history`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`apiVersion`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Версия API, использованная для формирования этого события.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`createTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Время создания этого события в формате `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`. Например, `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`полезная-нагрузка-события`,children:`Полезная нагрузка события`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phase`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Включается, когда `,_jsx(_components.code,{children:`type`}),` имеет значение `,_jsx(_components.code,{children:`whatsapp.smb.history`}),` и событие было создано из фрагмента истории Meta. Определяет фазу синхронизации фрагмента.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`progress`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Включается, когда `,_jsx(_components.code,{children:`type`}),` имеет значение `,_jsx(_components.code,{children:`whatsapp.smb.history`}),` и событие было создано из фрагмента истории Meta. Сообщает о прогрессе синхронизации фрагмента.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`whatsappInboundMessage`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Полезная нагрузка `,_jsx(_components.code,{children:`whatsappInboundMessage`}),`, специфичная для события.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`whatsappMessage`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Полезная нагрузка `,_jsx(_components.code,{children:`whatsappMessage`}),`, специфичная для события.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Четыре общих поля конверта являются обязательными. Поля полезной нагрузки зависят от варианта события. В каждой таблице объектов статус `,_jsx(_components.strong,{children:`Обязательный`}),` применяется, когда присутствует его родительский объект. Необязательные поля могут быть опущены; наличие поля в примере не делает его обязательным.`]}),`\n`,_jsx(Heading,{level:`4`,id:`whatsappinboundmessage`,children:`whatsappInboundMessage`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Уникальный ID объекта.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wamid`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Исходный ID сообщения на платформе WhatsApp.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wabaId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`ID WhatsApp Business Account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`from`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Номер телефона клиента, отправившего сообщение бизнесу, в формате `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/E.164`,children:`E.164`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fromUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`ID пользователя клиента в контексте WhatsApp Business (BSUID).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fromParentUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Родительский ID пользователя клиента в контексте WhatsApp Business.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customerProfile`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Данные профиля клиента.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`to`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Номер телефона получателя в формате `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/E.164`,children:`E.164`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sendTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Время отправки этого сообщения в формате `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`. Например, `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Тип входящего сообщения WhatsApp. См. также `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks/components#messages-object`,children:`объект сообщений webhook WhatsApp`}),`.`]}),_jsxs(`p`,{children:[`Значения: `,_jsx(`code`,{children:`text`}),`, `,_jsx(`code`,{children:`image`}),`, `,_jsx(`code`,{children:`video`}),`, `,_jsx(`code`,{children:`audio`}),`, `,_jsx(`code`,{children:`document`}),`, `,_jsx(`code`,{children:`sticker`}),`, `,_jsx(`code`,{children:`contacts`}),`, `,_jsx(`code`,{children:`location`}),`, `,_jsx(`code`,{children:`interactive`}),`, `,_jsx(`code`,{children:`button`}),`, `,_jsx(`code`,{children:`reaction`}),`, `,_jsx(`code`,{children:`request_welcome`}),`, `,_jsx(`code`,{children:`order`}),`, `,_jsx(`code`,{children:`system`}),`, `,_jsx(`code`,{children:`unsupported`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Когда уведомление описывает текстовое сообщение, объект text содержит текст этого сообщения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`При получении сообщения с медиафайлом (`,_jsx(_components.code,{children:`image`}),` | `,_jsx(_components.code,{children:`document`}),` | `,_jsx(_components.code,{children:`audio`}),` | `,_jsx(_components.code,{children:`video`}),` | `,_jsx(_components.code,{children:`sticker`}),`) клиент WhatsApp Business API скачивает этот медиафайл. После скачивания медиафайла на ваш Webhook отправляется уведомление. Это сообщение содержит информацию, идентифицирующую медиаобъект и позволяющую найти и скачать его.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`При получении сообщения с медиафайлом (`,_jsx(_components.code,{children:`image`}),` | `,_jsx(_components.code,{children:`document`}),` | `,_jsx(_components.code,{children:`audio`}),` | `,_jsx(_components.code,{children:`video`}),` | `,_jsx(_components.code,{children:`sticker`}),`) клиент WhatsApp Business API скачивает этот медиафайл. После скачивания медиафайла на ваш Webhook отправляется уведомление. Это сообщение содержит информацию, идентифицирующую медиаобъект и позволяющую найти и скачать его.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`audio`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`При получении сообщения с медиафайлом (`,_jsx(_components.code,{children:`image`}),` | `,_jsx(_components.code,{children:`document`}),` | `,_jsx(_components.code,{children:`audio`}),` | `,_jsx(_components.code,{children:`video`}),` | `,_jsx(_components.code,{children:`sticker`}),`) клиент WhatsApp Business API скачивает этот медиафайл. После скачивания медиафайла на ваш Webhook отправляется уведомление. Это сообщение содержит информацию, идентифицирующую медиаобъект и позволяющую найти и скачать его.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`При получении сообщения с медиафайлом (`,_jsx(_components.code,{children:`image`}),` | `,_jsx(_components.code,{children:`document`}),` | `,_jsx(_components.code,{children:`audio`}),` | `,_jsx(_components.code,{children:`video`}),` | `,_jsx(_components.code,{children:`sticker`}),`) клиент WhatsApp Business API скачивает этот медиафайл. После скачивания медиафайла на ваш Webhook отправляется уведомление. Это сообщение содержит информацию, идентифицирующую медиаобъект и позволяющую найти и скачать его.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sticker`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`При получении сообщения с медиафайлом (`,_jsx(_components.code,{children:`image`}),` | `,_jsx(_components.code,{children:`document`}),` | `,_jsx(_components.code,{children:`audio`}),` | `,_jsx(_components.code,{children:`video`}),` | `,_jsx(_components.code,{children:`sticker`}),`) клиент WhatsApp Business API скачивает этот медиафайл. После скачивания медиафайла на ваш Webhook отправляется уведомление. Это сообщение содержит информацию, идентифицирующую медиаобъект и позволяющую найти и скачать его.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`interactive`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Когда клиент взаимодействует с вашим сообщением, этот объект включается в объект message.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`location`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`При получении уведомления со статическим местоположением пользователя объект location предоставляет сведения о местоположении.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`button`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Когда поле типа сообщения имеет значение `,_jsx(_components.code,{children:`button`}),`, этот объект включается в объект message.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`contacts`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Элементы массива описаны ниже.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reaction`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Когда пользователь реагирует на сообщения с помощью эмодзи, типу сообщения присваивается значение `,_jsx(_components.code,{children:`reaction`}),`, и это поле включается в объект.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Когда клиент оформляет заказ, типу сообщения присваивается значение `,_jsx(_components.code,{children:`order`}),`, и это поле включается в объект.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`system`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Когда тип сообщения установлен в `,_jsx(_components.code,{children:`system`}),`, это поле включается в объект. Этот объект описывает смену номера телефона пользователя, смену BSUID или возможное изменение учетных данных в WhatsApp.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`errors`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Элементы массива описаны ниже.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`context`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Контекст сообщения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`referral`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Когда пользователь отправляет сообщение компании с помощью кнопок с призывом к действию в `,_jsx(_components.a,{href:`https://www.facebook.com/business/help/447934475640650`,children:`Ads that Click to WhatsApp`}),` или `,_jsx(_components.a,{href:`https://www.facebook.com/help/977869848936797`,children:`кнопок призыва к действию на странице Facebook`}),`, это поле передается как вложение.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`groupId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`ID группы WhatsApp. Это поле передается, если входящее сообщение отправлено в группу WhatsApp.`})]})]})]}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`whatsappInboundMessage.customerProfile`,id:`whatsappinboundmessage-customerprofile`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Имя аккаунта WhatsApp.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`username`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Имя пользователя WhatsApp.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.text`,id:`whatsappinboundmessage-text`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Текст сообщения.`})]})})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.image`,id:`whatsappinboundmessage-image`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`ID медиафайла. Может использоваться для удаления медиафайла, если он сохранен локально на клиенте.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`URL для скачивания медиафайла. Обратите внимание: эта ссылка доступна напрямую в течение нескольких минут для удобства пользователя, но для скачивания этого файла в течение месяца всегда следует передавать заголовок `,_jsx(_components.code,{children:`X-API-Key`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Переданная подпись к медиафайлу. Присутствует, только если была указана.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Имя файла на устройстве отправителя. Присутствует только в медиасообщениях типа `,_jsx(_components.code,{children:`document`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Метаданные, относящиеся к медиафайлу `,_jsx(_components.code,{children:`sticker`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mime_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`MIME-тип медиафайла.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sha256`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Контрольная сумма.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.video`,id:`whatsappinboundmessage-video`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`ID медиафайла. Может использоваться для удаления медиафайла, если он сохранен локально на клиенте.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`URL для скачивания медиафайла. Обратите внимание: эта ссылка доступна напрямую в течение нескольких минут для удобства пользователя, но для скачивания этого файла в течение месяца всегда следует передавать заголовок `,_jsx(_components.code,{children:`X-API-Key`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Переданная подпись к медиафайлу. Присутствует, только если была указана.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Имя файла на устройстве отправителя. Присутствует только в медиасообщениях типа `,_jsx(_components.code,{children:`document`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Метаданные, относящиеся к медиафайлу `,_jsx(_components.code,{children:`sticker`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mime_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`MIME-тип медиафайла.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sha256`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Контрольная сумма.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.audio`,id:`whatsappinboundmessage-audio`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`ID медиафайла. Может использоваться для удаления медиафайла, если он сохранен локально на клиенте.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`URL для скачивания медиафайла. Обратите внимание: эта ссылка доступна напрямую в течение нескольких минут для удобства пользователя, но для скачивания этого файла в течение месяца всегда следует передавать заголовок `,_jsx(_components.code,{children:`X-API-Key`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Переданная подпись к медиафайлу. Присутствует, только если была указана.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Имя файла на устройстве отправителя. Присутствует только в медиасообщениях типа `,_jsx(_components.code,{children:`document`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Метаданные, относящиеся к медиафайлу `,_jsx(_components.code,{children:`sticker`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mime_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`MIME-тип медиафайла.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sha256`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Контрольная сумма.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.document`,id:`whatsappinboundmessage-document`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Идентификатор медиафайла. Может использоваться для удаления медиафайла, если он сохранен локально на стороне клиента.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`URL-адрес для скачивания медиафайла. Обратите внимание, что для удобства пользователя к этой ссылке можно обращаться напрямую в течение нескольких минут, однако для скачивания этого файла в течение месяца всегда следует передавать заголовок `,_jsx(_components.code,{children:`X-API-Key`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Переданная подпись к медиафайлу. Присутствует только в том случае, если была указана.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Имя файла на устройстве отправителя. Присутствует только в сообщениях с медиатипом `,_jsx(_components.code,{children:`document`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Метаданные, относящиеся к медиафайлам `,_jsx(_components.code,{children:`sticker`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mime_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`MIME-тип медиафайла.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sha256`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Контрольная сумма.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.sticker`,id:`whatsappinboundmessage-sticker`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Идентификатор медиафайла. Может использоваться для удаления медиафайла, если он сохранен локально на стороне клиента.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`URL-адрес для скачивания медиафайла. Обратите внимание, что для удобства пользователя к этой ссылке можно обращаться напрямую в течение нескольких минут, однако для скачивания этого файла в течение месяца всегда следует передавать заголовок `,_jsx(_components.code,{children:`X-API-Key`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Переданная подпись к медиафайлу. Присутствует только в том случае, если была указана.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Имя файла на устройстве отправителя. Присутствует только в сообщениях с медиатипом `,_jsx(_components.code,{children:`document`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Метаданные, относящиеся к медиафайлам `,_jsx(_components.code,{children:`sticker`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mime_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`MIME-тип медиафайла.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sha256`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Контрольная сумма.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.interactive`,id:`whatsappinboundmessage-interactive`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Тип полученного интерактивного сообщения.`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`button_reply`}),`: Отправляется, когда клиент нажимает кнопку.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`list_reply`}),`: Отправляется, когда клиент выбирает элемент из списка.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`nfm_reply`}),`: Отправляется, когда клиент отвечает на WhatsApp Flow (Next Feature Messaging).`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`call_permission_reply`}),`: Отправляется, когда клиент отвечает на запрос разрешения звонка.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`button_reply`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Отправляется, когда клиент нажимает кнопку. Возвращается, когда `,_jsx(_components.code,{children:`type`}),` имеет значение `,_jsx(_components.code,{children:`button_reply`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`list_reply`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Отправляется, когда клиент выбирает элемент из списка. Возвращается, когда `,_jsx(_components.code,{children:`type`}),` имеет значение `,_jsx(_components.code,{children:`list_reply`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`nfm_reply`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Отправляется, когда клиент отвечает на WhatsApp Flow (Next Feature Messaging). Возвращается, когда `,_jsx(_components.code,{children:`type`}),` имеет значение `,_jsx(_components.code,{children:`nfm_reply`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call_permission_reply`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Отправляется, когда клиент отвечает на запрос разрешения звонка. Возвращается, когда `,_jsx(_components.code,{children:`type`}),` имеет значение `,_jsx(_components.code,{children:`call_permission_reply`}),`. Это происходит, когда WhatsApp предлагает пользователям предоставить разрешение на обратный звонок после того, как они позвонили в вашу компанию.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.interactive.button_reply`,id:`whatsappinboundmessage-interactive-button-reply`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Уникальный идентификатор нажатой кнопки.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Заголовок кнопки.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.interactive.list_reply`,id:`whatsappinboundmessage-interactive-list-reply`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Уникальный идентификатор выбранного элемента списка.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Заголовок выбранного элемента списка.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Описание выбранной строки.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.interactive.nfm_reply`,id:`whatsappinboundmessage-interactive-nfm-reply`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название потока или формы, на которые отправлен ответ.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`response_json`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Строка JSON, содержащая ответы пользователя в потоке. Содержит значения полей формы и токен потока.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Содержимое тела сообщения-ответа потока.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.interactive.call_permission_reply`,id:`whatsappinboundmessage-interactive-call-permission-reply`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`response`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Ответ клиента на запрос разрешения на звонок.`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`accept`}),`: пользователь разрешил компании перезвонить`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`reject`}),`: пользователь отклонил разрешение компании перезвонить`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration_timestamp`})}),_jsx(_components.td,{children:`integer (int64)`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Временная метка (в секундах), когда истекает срок действия разрешения на звонок. Присутствует, только если значение ответа — “accept”, а is_permanent равно false.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_permanent`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Является ли разрешение постоянным или временным.`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`true`}),`: постоянное разрешение (без срока действия)`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`false`}),`: временное разрешение (истекает в момент времени expiration_timestamp)`]})]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.location`,id:`whatsappinboundmessage-location`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`latitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Широта отправляемого местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`longitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Долгота отправляемого местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Адрес местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`URL веб-сайта, с которого пользователь загрузил информацию о местоположении.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.button`,id:`whatsappinboundmessage-button`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Полезная нагрузка (payload) кнопки, настроенной компанией, которую клиент нажал в интерактивном сообщении.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Текст кнопки.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.contacts[]`,id:`whatsappinboundmessage-contacts`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`addresses`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Элементы массива описаны ниже.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`birthday`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Строка в формате `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`emails`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Элементы массива описаны ниже.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Полное имя контакта в формате объекта name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`org`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Сведения об организации контакта в формате объекта org.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phones`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Номер(а) телефона контакта в формате объекта phone.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`urls`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`URL контакта в формате объекта urls.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`vcard`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Необязательный vCard, переданный вместе с полезной нагрузкой отправленного контакта.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Принимает значение `,_jsx(_components.code,{children:`contact_request`}),`, если пользователь поделился контактом в ответ на сообщение с запросом контактных данных.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.contacts[].addresses[]`,id:`whatsappinboundmessage-contacts-addresses`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`street`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название улицы и номер дома.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`city`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название города.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`state`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Аббревиатура штата/региона.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`zip`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Почтовый индекс.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Полное название страны.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Двухбуквенный код страны.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Стандартные значения: `,_jsx(_components.code,{children:`HOME`}),` и `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.contacts[].emails[]`,id:`whatsappinboundmessage-contacts-emails`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`email`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Адрес электронной почты.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Стандартные значения: `,_jsx(_components.code,{children:`HOME`}),` и `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.contacts[].name`,id:`whatsappinboundmessage-contacts-name`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`formatted_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Полное имя в привычном формате.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`first_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Имя.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`last_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Фамилия.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`middle_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Отчество или второе имя.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`suffix`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Суффикс имени.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`prefix`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Префикс имени.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.contacts[].org`,id:`whatsappinboundmessage-contacts-org`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`company`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название компании контакта.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`department`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название отдела контакта.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Должность контакта.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.contacts[].phones[]`,id:`whatsappinboundmessage-contacts-phones`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Автоматически заполняется значением `,_jsx(_components.code,{children:`wa_id`}),` в виде отформатированного номера телефона.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Стандартные значения: `,_jsx(_components.code,{children:`CELL`}),`, `,_jsx(_components.code,{children:`MAIN`}),`, `,_jsx(_components.code,{children:`IPHONE`}),`, `,_jsx(_components.code,{children:`HOME`}),` и `,_jsx(_components.code,{children:`WORK`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wa_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`WhatsApp ID.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.contacts[].urls[]`,id:`whatsappinboundmessage-contacts-urls`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`URL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Стандартные значения: `,_jsx(_components.code,{children:`HOME`}),` и `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.reaction`,id:`whatsappinboundmessage-reaction`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Указывает `,_jsx(_components.code,{children:`wamid`}),` полученного сообщения, содержащего реакцию.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`emoji`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Обязательный`}),` при отправке сообщения `,_jsx(_components.code,{children:`reaction`}),`. Укажите `,_jsx(_components.code,{children:`\"\"`}),`, если хотите удалить эмодзи. `,_jsx(_components.strong,{children:`Необязательный`}),` при получении сообщения от пользователя. Это поле передается, когда пользователь реагирует на сообщения с помощью эмодзи. В противном случае оно указывает на то, что пользователь удалил эмодзи.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.order`,id:`whatsappinboundmessage-order`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`ID каталога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Элементы массива описаны ниже.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Текстовое сообщение, отправленное вместе с заказом.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.order.product_items[]`,id:`whatsappinboundmessage-order-product-items`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Идентификатор SKU товара.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Количество элементов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`item_price`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Цена единицы товара.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Валюта цены. `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/ISO_4217`,children:`Код валюты по ISO 4217`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.system`,id:`whatsappinboundmessage-system`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Описывает событие системного сообщения. Поддерживаемые сценарии использования:`}),_jsxs(`ul`,{children:[_jsx(`li`,{children:`Обновление номера телефона: когда пользователь переходит со старого номера на новый.`}),_jsx(`li`,{children:`Обновление идентификационных данных: когда идентификационные данные пользователя изменились.`})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wa_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Номер телефона, предоставленный Meta, без префикса `,_jsx(_components.code,{children:`+`}),`. Он может оставаться неизменным или быть опущен при изменении BSUID.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Новый идентификатор пользователя в контексте компании (business-scoped user ID), предоставленный Meta при смене номера телефона или BSUID. Это поле сохраняет исходное имя в формате snake_case.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`parent_user_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Новый родительский BSUID для изменения номера телефона или BSUID, только если эта функция включена и предоставлена Meta. Это поле сохраняет исходное имя в snake_case.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`previous_user_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Предыдущий идентификатор пользователя в области бизнеса (business-scoped user ID), предоставленный Meta.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`previous_parent_user_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Предыдущий родительский BSUID, только если включено и предоставлено Meta.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Поддерживаемые типы:`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`user_changed_user_id`}),`: уведомление о том, что пользователь изменил свой BSUID. Номер телефона может оставаться без изменений.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`user_changed_number`}),`: для уведомления об изменении номера пользователем.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`user_identity_changed`}),`: для уведомления об изменении удостоверения личности пользователя.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Добавлено в Webhook для обновлений идентификационных данных.`})}),_jsx(`p`,{children:`Новый идентификатор пользователя WhatsApp клиента.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`new_wa_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Добавляется в Webhook при обновлении номера телефона.`})}),_jsx(`p`,{children:`Новый WhatsApp ID клиента.`})]})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.errors[]`,id:`whatsappinboundmessage-errors`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Код ошибки.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Заголовок ошибки.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Сообщение об ошибке.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_data`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Объект данных об ошибке со следующими свойствами:`}),_jsx(`ul`,{children:_jsxs(`li`,{children:[_jsx(`code`,{children:`details`}),`: Строка с описанием причины ошибки. Пример: `,_jsx(`code`,{children:`Message type is currently not supported.`}),`.`]})})]})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.context`,id:`whatsappinboundmessage-context`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`forwarded`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Добавляется в Webhook, если сообщение было переслано.`})}),_jsxs(`p`,{children:[`Устанавливается в значение `,_jsx(`code`,{children:`true`}),`, если полученное сообщение было переслано.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`frequently_forwarded`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Добавляется в Webhook, если сообщение часто пересылалось.`})}),_jsxs(`p`,{children:[`Устанавливается в значение `,_jsx(`code`,{children:`true`}),`, если полученное сообщение было переслано более пяти раз.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`from`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Добавляется в Webhook, если сообщение является входящим ответом на отправленное сообщение.`})}),_jsx(`p`,{children:`WhatsApp ID (номер телефона без префикса «+») отправителя отправленного сообщения.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Необязательно.`})}),_jsxs(`p`,{children:[`Идентификатор `,_jsx(`code`,{children:`wamid`}),` отправленного сообщения для входящего ответа. `,_jsx(`code`,{children:`wamid`}),` — это исходный идентификатор сообщения на платформе WhatsApp.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`referred_product`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Обязательно для сообщений с запросом о товаре.`})}),_jsxs(`p`,{children:[`Указывает товар, информацию о котором запрашивает пользователь. См. также `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/guides/sell-products-and-services`,children:`Sell Products \u0026 Services`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.context.referred_product`,id:`whatsappinboundmessage-context-referred-product`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Идентификатор каталога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Идентификатор артикула (SKU) товара.`})]})]})]})}),_jsx(Accordion,{title:`whatsappInboundMessage.referral`,id:`whatsappinboundmessage-referral`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`source_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Задает URL, ведущий на рекламу или публикацию, по которой кликнул пользователь. Переход по этому URL открывает рекламу, просмотренную вашим пользователем.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`source_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Задает тип источника рекламы. Поддерживаемые значения: “ad” или “post”.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`source_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Задает Meta ID для рекламы или публикации.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`headline`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Задает заголовок, используемый в рекламе или публикации, сгенерировавшей сообщение.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Описание или текст рекламы либо публикации, сгенерировавшей сообщение.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`media_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Медиаматериалы, присутствующие в рекламе или публикации, по которой кликнул пользователь. Поддерживаемые значения: “image” или “video”.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Добавляется, если media_type имеет значение “image”.`})}),_jsx(`p`,{children:`Содержит URL исходного изображения.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Добавляется, если media_type имеет значение “video”.`})}),_jsx(`p`,{children:`Содержит URL видео.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`thumbnail_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Добавляется, если media_type имеет значение “video”.`})}),_jsx(`p`,{children:`Содержит URL миниатюры видео, по которому был совершен клик.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ctwa_clid`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Идентификатор клика, созданный Meta для объявлений с переходом в WhatsApp.`})]})]})]})})]}),`\n`,_jsx(Heading,{level:`4`,id:`whatsappmessage`,children:`whatsappMessage`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Уникальный идентификатор сообщения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wamid`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Исходный идентификатор сообщения на платформе WhatsApp.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wabaId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Идентификатор WhatsApp Business Account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`from`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Номер телефона отправителя в формате `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/E.164`,children:`E.164`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`to`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Номер телефона получателя в формате `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/E.164`,children:`E.164`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recipient`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Значение получателя, переданное в запросе, когда использовался BSUID или родительский BSUID.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recipientUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Идентификатор пользователя получателя в рамках WhatsApp Business (BSUID).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`toUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Псевдоним для `,_jsx(_components.code,{children:`recipientUserId`}),`, сохранённый для совместимости.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`parentRecipientUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Родительский идентификатор пользователя получателя в рамках WhatsApp Business.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`toParentUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Псевдоним для `,_jsx(_components.code,{children:`parentRecipientUserId`}),`, сохранённый для совместимости.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customerProfile`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Сведения профиля получателя, включая имя пользователя WhatsApp, если оно доступно.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`conversation`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`WhatsApp определяет переписку как 24-часовую сессию обмена сообщениями между пользователем и компанией. Это поле появляется после того, как статус сообщения изменяется на `,_jsx(_components.code,{children:`sent`}),`. См. также `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/pricing`,children:`Conversation-Based Pricing`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Тип исходящего сообщения WhatsApp. См. также `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/messages`,children:`WhatsApp messages`}),`.`]}),_jsxs(`p`,{children:[`Значения: `,_jsx(`code`,{children:`template`}),`, `,_jsx(`code`,{children:`text`}),`, `,_jsx(`code`,{children:`image`}),`, `,_jsx(`code`,{children:`audio`}),`, `,_jsx(`code`,{children:`video`}),`, `,_jsx(`code`,{children:`document`}),`, `,_jsx(`code`,{children:`sticker`}),`, `,_jsx(`code`,{children:`location`}),`, `,_jsx(`code`,{children:`interactive`}),`, `,_jsx(`code`,{children:`contacts`}),`, `,_jsx(`code`,{children:`reaction`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`template`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для отправки сообщения WhatsApp типа `,_jsx(_components.code,{children:`template`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Объект текста сообщения WhatsApp.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для сообщений `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),` или `,_jsx(_components.code,{children:`sticker`}),`. См. также `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для сообщений `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),` или `,_jsx(_components.code,{children:`sticker`}),`. См. также `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`audio`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для сообщений `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),` или `,_jsx(_components.code,{children:`sticker`}),`. См. также `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для сообщений `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),` или `,_jsx(_components.code,{children:`sticker`}),`. См. также `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sticker`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для сообщений `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),` или `,_jsx(_components.code,{children:`sticker`}),`. См. также `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`location`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для сообщений `,_jsx(_components.code,{children:`location`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`interactive`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для сообщений `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`contacts`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Элементы массива описаны ниже.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reaction`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Когда пользователь реагирует на сообщения эмодзи, тип сообщения устанавливается в `,_jsx(_components.code,{children:`reaction`}),`, и включается это поле.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`context`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Используется для указания конкретного сообщения, на которое вы отвечаете. Ответ может быть сообщением любого типа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`externalId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Уникальная (рекомендуется) строка для идентификации объекта. Это может быть номер заказа или аналогичное значение, которое можно использовать для сопоставления объекта с вашими внутренними системами.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`category`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Категория Direct Send, например `,_jsx(_components.code,{children:`utility`}),` или `,_jsx(_components.code,{children:`authentication`}),`, если применимо.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ttlSeconds`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Настроенное время жизни сообщения Direct Send в секундах, если применимо.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Статус сообщения WhatsApp. Одно из значений: `,_jsx(`code`,{children:`accepted`}),`, `,_jsx(`code`,{children:`failed`}),`, `,_jsx(`code`,{children:`sent`}),`, `,_jsx(`code`,{children:`delivered`}),`, `,_jsx(`code`,{children:`read`}),`.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`accepted`}),`: запрос на отправку сообщения принят нашей системой.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`failed`}),`: сообщение, отправленное вашей компанией, не удалось отправить.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`sent`}),`: сообщение, отправленное вашей компанией, находится в процессе передачи в системах WhatsApp.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`delivered`}),`: сообщение, отправленное вашей компанией, доставлено на устройство пользователя.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`read`}),`: сообщение, отправленное вашей компанией, прочитано пользователем.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`errorCode`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Код ошибки, если статус сообщения — `,_jsx(_components.code,{children:`failed`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`errorMessage`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Текст ошибки, если статус сообщения — `,_jsx(_components.code,{children:`failed`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`createTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Время создания этого сообщения в формате `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`, например, `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`updateTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Время обновления этого сообщения в формате `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`, например, `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sendTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Время, когда статус этого сообщения `,_jsx(_components.code,{children:`status`}),` изменился на `,_jsx(_components.code,{children:`sent`}),`, в формате `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`, например, `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`deliverTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Время, когда статус этого сообщения `,_jsx(_components.code,{children:`status`}),` изменился на `,_jsx(_components.code,{children:`delivered`}),`, в формате `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`, например, `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`readTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Время, когда статус этого сообщения `,_jsx(_components.code,{children:`status`}),` изменился на `,_jsx(_components.code,{children:`read`}),`, в формате `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`, например, `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`totalPrice`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Общая стоимость этого сообщения. `,_jsxs(`strong`,{children:[`Примечание: цена является ориентировочной, пока значение `,_jsx(`code`,{children:`status`}),` равно `,_jsx(`code`,{children:`accepted`}),` или `,_jsx(`code`,{children:`sent`}),`. Она становится окончательной после доставки сообщения, то есть когда поле `,_jsx(`code`,{children:`status`}),` принимает значение `,_jsx(`code`,{children:`delivered`}),` или `,_jsx(`code`,{children:`read`}),`.`]})]}),_jsx(`p`,{children:`Для сообщений с максимальной ценой сумма на момент отправки является ориентировочной. Для получения окончательной суммы списания используйте событие whatsapp.message.updated со статусом delivered/read; maxBid не является окончательной суммой списания.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Валюта цены. `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/ISO_4217`,children:`Код валюты по ISO 4217`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`regionCode`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2`,children:`Код региона`}),` номера телефона получателя.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pricingCategory`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Тарифная категория сообщения. `,_jsxs(`strong`,{children:[`Примечание: категория тарификации является предварительной, пока поле `,_jsx(`code`,{children:`status`}),` имеет значение `,_jsx(`code`,{children:`accepted`}),` или `,_jsx(`code`,{children:`sent`}),`. Она становится окончательной после доставки сообщения, то есть когда значение `,_jsx(`code`,{children:`status`}),` равно `,_jsx(`code`,{children:`delivered`}),` или `,_jsx(`code`,{children:`read`}),`.`]})]}),_jsxs(`p`,{children:[`Значения: `,_jsx(`code`,{children:`referral_conversion`}),`, `,_jsx(`code`,{children:`authentication`}),`, `,_jsx(`code`,{children:`authentication_international`}),`, `,_jsx(`code`,{children:`marketing`}),`, `,_jsx(`code`,{children:`marketing_lite`}),`, `,_jsx(`code`,{children:`utility`}),`, `,_jsx(`code`,{children:`service`}),`, `,_jsx(`code`,{children:`marketing_lite_bidding`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pricingModel`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Модель ценообразования для сообщения.`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`PMP`}),`: применяется оплата за каждое сообщение.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`CBP`}),`: применяется оплата за переписку.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pricingType`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Тип тарификации сообщения. Это поле доступно только в режиме PMP (Per-Message Pricing).`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`regular`}),`: Указывает, что сообщение подлежит оплате.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`free_customer_service`}),`: Указывает, что сообщение бесплатно, так как оно представляет собой шаблонное сервисное сообщение (utility) либо нешаблонное сообщение, отправленное в рамках окна обслуживания клиентов.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`free_entry_point`}),`: Указывает, что сообщение бесплатно, так как оно является частью переписки через бесплатную точку входа.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`whatsappApiError`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Исходный объект ошибки, возвращенный WhatsApp. См. `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/graph-api/guides/error-handling`,children:`Handling Errors`}),`, `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes`,children:`Cloud API Error Codes`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bizType`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Может быть пустым или иметь одно из значений: `,_jsx(`code`,{children:`whatsapp`}),` либо `,_jsx(`code`,{children:`verify`}),`. По умолчанию — `,_jsx(`code`,{children:`whatsapp`}),`.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`whatsapp`}),`: Указывает, что сообщение отправлено через продукт `,_jsx(`strong`,{children:`WhatsApp`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`verify`}),`: Указывает, что сообщение отправлено через продукт `,_jsx(`strong`,{children:`Verify`}),`.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`verificationId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Идентификатор верификации. Включается только в том случае, если `,_jsx(_components.code,{children:`bizType`}),` имеет значение `,_jsx(_components.code,{children:`verify`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bidPricingFlag`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Значение True, если сообщение идентифицировано как аукционное сообщение Marketing Lite. Его pricingCategory имеет значение marketing_lite_bidding.`})]})]})]}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`whatsappMessage.customerProfile`,id:`whatsappmessage-customerprofile`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название аккаунта WhatsApp.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`username`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Имя пользователя WhatsApp.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.conversation`,id:`whatsappmessage-conversation`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Уникальный идентификатор объекта.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Тип переписки. Плата взимается при доставке первого бизнес-сообщения этой переписки, которое инициирует 24-часовую сессию переписки. Таким образом, до доставки первого сообщения тип переписки может иметь значение `,_jsx(`code`,{children:`null`}),`.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`FREE_ENTRY`}),`: Переписки, начатые через `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#free-entry-point-conversations`,children:`бесплатную точку входа`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`FREE_TIER`}),`: Переписки в рамках ежемесячного `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#free-tier-conversations`,children:`бесплатного пакета`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`REGULAR`}),`: Любые переписки, которые не были начаты через `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#free-entry-point-conversations`,children:`бесплатную точку входа`}),` или превышают ежемесячный лимит `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#free-tier-conversations`,children:`бесплатного пакета`}),`.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`originType`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Указывает на `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#conversation-categories`,children:`категорию переписки`}),`. Это также может называться точкой входа в переписку.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`referral_conversion`}),`: указывает на `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#free-entry-point-conversations`,children:`переписку с бесплатной точкой входа`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`authentication`}),`: указывает, что переписка была начата бизнесом путем отправки клиенту шаблона категории `,_jsx(`code`,{children:`AUTHENTICATION`}),`. Это применимо в любое время, если с момента последнего сообщения клиента прошло более 24 часов.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`marketing`}),`: указывает, что переписка была начата бизнесом путем отправки клиенту шаблона категории `,_jsx(`code`,{children:`MARKETING`}),`. Это применимо в любое время, если с момента последнего сообщения клиента прошло более 24 часов.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`utility`}),`: указывает, что переписка была начата бизнесом путем отправки клиенту шаблона категории `,_jsx(`code`,{children:`UTILITY`}),`. Это применимо в любое время, если с момента последнего сообщения клиента прошло более 24 часов.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`service`}),`: указывает, что переписка была открыта бизнесом, ответившим клиенту в рамках `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#customer-service-windows`,children:`окна обслуживания клиентов`}),`.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expireTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Дата истечения срока действия переписки, отформатированная в соответствии с `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`, например `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template`,id:`whatsappmessage-template`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Название шаблона.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`language`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Содержит объект языка. Указывает язык, на котором может отображаться шаблон.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`components`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Обязательно, если указанный шаблон содержит переменные или медиафайлы.`}),` Массив объектов компонентов, содержащих параметры сообщения.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.language`,id:`whatsappmessage-template-language`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Код используемого языка или регионального стандарта (locale). Поддерживает форматы языка и языка_локали (например, en и en_US). См. `,_jsx(_components.a,{href:`https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/supported-languages`,children:`Поддерживаемые языки`}),` для списка всех кодов.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`policy`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Языковая политика, которой должно следовать сообщение. По умолчанию (и единственный поддерживаемый вариант): `,_jsx(_components.code,{children:`deterministic`}),`, что означает, что WhatsApp доставляет шаблон сообщения именно на том языке и с той локалью, которые были запрошены.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[]`,id:`whatsappmessage-template-components`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Тип компонента.`}),_jsxs(`p`,{children:[`Значения: `,_jsx(`code`,{children:`header`}),`, `,_jsx(`code`,{children:`body`}),`, `,_jsx(`code`,{children:`button`}),`, `,_jsx(`code`,{children:`limited_time_offer`}),`, `,_jsx(`code`,{children:`carousel`}),`, `,_jsx(`code`,{children:`order_status`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sub_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsxs(`strong`,{children:[`Обязательно, если type имеет значение `,_jsx(`code`,{children:`button`}),`.`]}),` Тип кнопки.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`quick_reply`}),`: относится к ранее созданной кнопке быстрого ответа, которая позволяет клиенту отправить предварительно заданное сообщение.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`url`}),`: относится к ранее созданной кнопке с URL-адресом, которая позволяет клиенту перейти по URL, сформированному путем добавления параметра text к заданному в шаблоне префиксу URL.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`copy_code`}),`: относится к ранее созданной кнопке копирования кода, которая позволяет клиенту при нажатии копировать текстовую строку (определяемую при отправке шаблона в шаблонном сообщении) в буфер обмена устройства.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`catalog`}),`: относится к ранее созданной кнопке каталога, которая позволяет клиенту просматривать ваш каталог товаров.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`mpm`}),`: относится к ранее созданной кнопке MPM (сообщение с несколькими товарами), которая позволяет клиенту просматривать товары и разделы.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`flow`}),`: относится к ранее созданной кнопке потока, которая позволяет клиенту взаимодействовать с `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/flows`,children:`flow`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`order_details`}),`: относится к ранее созданной кнопке сведений о заказе, которая позволяет клиенту просматривать детали заказа.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`index`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsxs(`strong`,{children:[`Обязательно, если `,_jsx(`code`,{children:`type`}),` = `,_jsx(`code`,{children:`button`}),`. Для остальных типов не используется.`]}),` Указывает порядок отображения кнопки, если в шаблоне используется несколько кнопок. Кнопки индексируются с нуля, поэтому значение 0 приведет к тому, что кнопка отобразится первой, кнопка с индексом 1 — следующей и т. д.`]}),_jsxs(`p`,{children:[`Минимум: `,_jsx(`code`,{children:`0`}),`. Максимум: `,_jsx(`code`,{children:`9`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`parameters`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Обязательно, если `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`button`}),`, либо в соответствующем компоненте шаблона есть переменные, либо формат шаблона `,_jsx(_components.code,{children:`HEADER`}),` относится к медиа (`,_jsx(_components.code,{children:`IMAGE`}),`, `,_jsx(_components.code,{children:`VIDEO`}),` или `,_jsx(_components.code,{children:`DOCUMENT`}),`).`]}),` Массив объектов параметров с содержимым сообщения.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cards`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для компонентов `,_jsx(_components.code,{children:`carousel`}),`. Предоставляет компоненты карточек, содержащие параметры сообщения.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[]`,id:`whatsappmessage-template-components-parameters`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Обязательно.`}),` Тип параметра компонента.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`text`}),`: используется, когда тип компонента шаблона — `,_jsx(`code`,{children:`BODY`}),`, либо формат компонента `,_jsx(`code`,{children:`HEADER`}),` — `,_jsx(`code`,{children:`TEXT`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`image`}),`: используется, когда компонент шаблона `,_jsx(`code`,{children:`HEADER`}),` имеет тип `,_jsx(`code`,{children:`IMAGE`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`gif`}),`: используется, когда компонент шаблона `,_jsx(`code`,{children:`HEADER`}),` имеет тип `,_jsx(`code`,{children:`GIF`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`video`}),`: используется, когда компонент шаблона `,_jsx(`code`,{children:`HEADER`}),` имеет тип `,_jsx(`code`,{children:`VIDEO`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`document`}),`: используется, когда компонент шаблона `,_jsx(`code`,{children:`HEADER`}),` имеет тип `,_jsx(`code`,{children:`DOCUMENT`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`payload`}),`: используется, когда тип кнопки в компоненте шаблона — `,_jsx(`code`,{children:`QUICK_REPLY`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`coupon_code`}),`: используется, когда тип кнопки в компоненте шаблона — `,_jsx(`code`,{children:`COPY_CODE`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`limited_time_offer`}),`: используется, когда тип компонента шаблона — `,_jsx(`code`,{children:`LIMITED_TIME_OFFER`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`action`}),`: используется, когда тип кнопки в компоненте шаблона — `,_jsx(`code`,{children:`CATALOG`}),`, `,_jsx(`code`,{children:`MPM`}),`, `,_jsx(`code`,{children:`FLOW`}),` или `,_jsx(`code`,{children:`ORDER_DETAILS`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`order_status`}),`: используется, когда подкатегория шаблона — `,_jsx(`code`,{children:`ORDER_STATUS`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`location`}),`: используется, когда компонент шаблона `,_jsx(`code`,{children:`HEADER`}),` имеет тип `,_jsx(`code`,{children:`LOCATION`}),`.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Обязательно, если `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`text`}),`.`]}),` Текст сообщения. Для компонента заголовка ограничение составляет 60 символов. Для компонента тела — 1024 символа. Для кнопок со ссылкой указывает предоставленный разработчиком суффикс, который добавляется к заранее заданному префиксу URL в шаблоне.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно для кнопок `,_jsx(_components.code,{children:`quick_reply`}),`. Задаваемые разработчиком полезные данные (payload), возвращаемые при нажатии кнопки в дополнение к отображаемому на ней тексту.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`coupon_code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Обязательно, если `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`coupon_code`}),`.`]}),` Код купона, копируемый при нажатии кнопки клиентом.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Обязательно, когда формат `,_jsx(_components.code,{children:`HEADER`}),` шаблона — `,_jsx(_components.code,{children:`IMAGE`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gif`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Обязательно, когда формат `,_jsx(_components.code,{children:`HEADER`}),` шаблона — `,_jsx(_components.code,{children:`GIF`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Обязательно, когда формат `,_jsx(_components.code,{children:`HEADER`}),` шаблона — `,_jsx(_components.code,{children:`VIDEO`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Обязательно, когда формат `,_jsx(_components.code,{children:`HEADER`}),` шаблона — `,_jsx(_components.code,{children:`DOCUMENT`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`limited_time_offer`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Обязательно, если в шаблоне используются сведения об истечении срока действия предложения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`action`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Обязательно, если в шаблоне используются кнопки каталога или MPM (многотоварных сообщений).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_status`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Поля объекта перечислены ниже.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`location`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Обязательно, если `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`location`}),`.`]})})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].image`,id:`whatsappmessage-template-components-parameters-image`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательное`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите идентификатор медиаобъекта, полученный из API загрузки медиа WhatsApp (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры строки запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для указанного документа. Используйте только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].gif`,id:`whatsappmessage-template-components-parameters-gif`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите идентификатор медиаобъекта, полученный из API загрузки медиа WhatsApp (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры строки запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для указанного документа. Используйте только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].video`,id:`whatsappmessage-template-components-parameters-video`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите идентификатор медиаобъекта, полученный из API загрузки медиа WhatsApp (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры строки запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл: `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Неприменимо в `,_jsx(_components.code,{children:`header`}),` для сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для конкретного документа. Используется только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].document`,id:`whatsappmessage-template-components-parameters-document`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите идентификатор медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайлов напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL-адресами HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы обеспечить актуальность контента, добавьте случайные параметры запроса к URL.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл: `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Неприменимо в `,_jsx(_components.code,{children:`header`}),` для сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для конкретного документа. Используется только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].limited_time_offer`,id:`whatsappmessage-template-components-parameters-limited-time-offer`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration_time_ms`})}),_jsx(_components.td,{children:`integer (int64)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Обязательный параметр.`}),` Время истечения срока действия промокода в формате временной метки UNIX в миллисекундах.`]})]})})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action`,id:`whatsappmessage-template-components-parameters-action`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`thumbnail_product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Необязательный параметр.`}),` Используется для шаблонных сообщений каталога и MPM. Артикул (SKU) товара. Обозначается как Content ID в Commerce Manager. Миниатюра этого товара будет использоваться в качестве изображения заголовка сообщения. Если объект `,_jsx(_components.code,{children:`parameters`}),` опущен, будет использовано изображение первого товара из вашего каталога.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sections`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Используется для шаблонов MPM. Разделы товаров. Можно указать до 10 разделов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_token`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для кнопок `,_jsx(_components.code,{children:`FLOW`}),`. Токен Flow, созданный компанией для использования в качестве идентификатора. По умолчанию `,_jsx(_components.code,{children:`unused`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_action_data`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для кнопок `,_jsx(_components.code,{children:`FLOW`}),`. Объект JSON с полезной нагрузкой данных для первого экрана.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_details`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно для кнопок `,_jsx(_components.code,{children:`order_details`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.sections[]`,id:`whatsappmessage-template-components-parameters-action-sections`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Текст заголовка раздела. Максимум 24 символа. Markdown не поддерживается.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`24`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Массив артикулов (SKU) товаров. Минимум 1 товар в разделе и максимум 30 товаров во всех разделах.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.sections[].product_items[]`,id:`whatsappmessage-template-components-parameters-action-sections-product-items`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Номер SKU товара, который должен отображаться в этом разделе. Номера SKU обозначаются как `,_jsx(_components.strong,{children:`Content ID`}),` в `,_jsx(_components.a,{href:`https://business.facebook.com/commerce`,children:`Commerce Manager`}),`.`]})]})})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details`,id:`whatsappmessage-template-components-parameters-action-order-details`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Валюта для этого заказа. В настоящее время единственным поддерживаемым значением является `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Предоставляет параметры заказа: `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`items`}),`, `,_jsx(_components.code,{children:`subtotal`}),`, `,_jsx(_components.code,{children:`tax`}),` и т. д.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Уникальный идентификатор заказа, предоставленный компанией. Чувствителен к регистру, не может быть пустой строкой, может содержать только буквы латинского алфавита, цифры, знаки подчеркивания, дефисы или точки и не должен превышать 35 символов.`}),_jsxs(`p`,{children:[_jsx(`code`,{children:`reference_id`}),` должен быть уникальным для каждого сообщения order_details конкретной компании. Если требуется отправить несколько сообщений order_details для одного и того же заказа, рекомендуется включить порядковый номер в reference_id (например, “BM345A-12”), чтобы обеспечить уникальность reference_id.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`total_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Общая сумма заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Тип товаров, оплачиваемых в этом заказе. В настоящее время поддерживаются варианты `,_jsx(_components.code,{children:`digital-goods`}),` и `,_jsx(_components.code,{children:`physical-goods`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_settings`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Настройки оплаты для заказа.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.order`,id:`whatsappmessage-template-components-parameters-action-order-details-order`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Единственным поддерживаемым значением в сообщении `,_jsx(`code`,{children:`order_details`}),` является `,_jsx(`code`,{children:`pending`}),`. В сообщении `,_jsx(`code`,{children:`order_status`}),` значение `,_jsx(`code`,{children:`status`}),` может быть следующим: `,_jsx(`code`,{children:`pending`}),`, `,_jsx(`code`,{children:`processing`}),`, `,_jsx(`code`,{children:`partially_shipped`}),`, `,_jsx(`code`,{children:`shipped`}),`, `,_jsx(`code`,{children:`completed`}),` или `,_jsx(`code`,{children:`canceled`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Единственным поддерживаемым значением является `,_jsx(_components.code,{children:`quick_pay`}),`. Если это поле передано, мы скрываем кнопку “Review and Pay” и показываем только кнопку “Pay Now” в карточке с деталями заказа.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Уникальный идентификатор каталога Facebook, используемого компанией. Если вы не указываете это поле, необходимо передать следующие поля внутри объекта items: `,_jsx(_components.code,{children:`country_of_origin`}),`, `,_jsx(_components.code,{children:`importer_name`}),` и `,_jsx(_components.code,{children:`importer_address`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Массив позиций в заказе.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subtotal`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Значение `,_jsx(_components.strong,{children:`должно быть равно`}),` сумме `,_jsx(_components.code,{children:`order.amount.value`}),` * `,_jsx(_components.code,{children:`order.amount.quantity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Информация о налогах для этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shipping`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Стоимость доставки заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Сумма скидки для этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Срок действия этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Необязательно.`}),` Текст для передачи информации, связанной со статусом. Может быть полезен при отправке отмены. Максимальный лимит — 120 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.order.items[]`,id:`whatsappmessage-template-components-parameters-action-order-details-order-items`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Идентификатор контента для товара в заказе из вашего каталога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Название товара, отображаемое пользователю. Не может превышать 60 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Пользовательское изображение товара, отображаемое пользователю.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Цена за единицу товара.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sale_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Цена товара со скидкой. Должна быть меньше первоначальной суммы. Если указано, это поле используется для расчета промежуточного итога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Количество товаров в заказе.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_of_origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано `,_jsx(_components.code,{children:`catalog_id`}),`. Страна происхождения товара.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано `,_jsx(_components.code,{children:`catalog_id`}),`. Название компании-импортера.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано `,_jsx(_components.code,{children:`catalog_id`}),`. Адрес компании-импортера.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.order.items[].image`,id:`whatsappmessage-template-components-parameters-action-order-details-order-items-image`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите идентификатор медиаобъекта, полученный через WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры строки запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл типа `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Неприменимо в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для конкретного документа. Используйте только для медиафайлов `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.order.items[].amount`,id:`whatsappmessage-template-components-parameters-action-order-details-order-items-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на коэффициент смещения (offset). Например, значение для ₹12.34 равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальное ограничение — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальное ограничение — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.order.items[].sale_amount`,id:`whatsappmessage-template-components-parameters-action-order-details-order-items-sale-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.order.subtotal`,id:`whatsappmessage-template-components-parameters-action-order-details-order-subtotal`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.order.tax`,id:`whatsappmessage-template-components-parameters-action-order-details-order-tax`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.order.shipping`,id:`whatsappmessage-template-components-parameters-action-order-details-order-shipping`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.order.discount`,id:`whatsappmessage-template-components-parameters-action-order-details-order-discount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.order.expiration`,id:`whatsappmessage-template-components-parameters-action-order-details-order-expiration`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Строка с меткой времени UTC в секундах, указывающей, когда истекает срок действия заказа. Минимальный порог — 300 секунд.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Текстовое пояснение истечения срока действия.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.total_amount`,id:`whatsappmessage-template-components-parameters-action-order-details-total-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.payment_settings[]`,id:`whatsappmessage-template-components-parameters-action-order-details-payment-settings`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть установлено в `,_jsx(_components.code,{children:`payment_gateway`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_gateway`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Объект, содержащий информацию о платежном счете.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.payment_settings[].payment_gateway`,id:`whatsappmessage-template-components-parameters-action-order-details-payment-settings-payment-gateway`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Тип платежа. Необходимо указать `,_jsx(`code`,{children:`billdesk`}),`, `,_jsx(`code`,{children:`razorpay`}),`, `,_jsx(`code`,{children:`payu`}),` или `,_jsx(`code`,{children:`zaakpay`}),`, если вы подключили платежный шлюз BillDesk, Razorpay, PayU или Zaakpay для приема платежей.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`configuration_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Имя предварительно настроенной конфигурации платежей для использования в этом заказе; длина не должна превышать 60 символов. Это значение должно совпадать с конфигурацией платежей, настроенной в WhatsApp Business Manager.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`billdesk`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для BillDesk. Пользовательские поля (extra) используются для хранения любой информации, относящейся к конкретному заказу. Максимальная длина каждого поля extra составляет 120 символов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payu`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для PayU. Пользовательские поля (udf) используются для хранения любой информации, относящейся к конкретному заказу. Максимальная длина каждого поля UDF составляет 255 символов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`razorpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для Razorpay.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`zaakpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для Zaakpay. Пользовательские поля (extra) используются для хранения любой информации, относящейся к конкретному заказу. Максимальная длина каждого поля extra составляет 180 символов.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.payment_settings[].payment_gateway.billdesk`,id:`whatsappmessage-template-components-parameters-action-order-details-payment-settings-payment-gateway-billdesk`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info5`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info6`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info7`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.payment_settings[].payment_gateway.payu`,id:`whatsappmessage-template-components-parameters-action-order-details-payment-settings-payment-gateway-payu`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.payment_settings[].payment_gateway.razorpay`,id:`whatsappmessage-template-components-parameters-action-order-details-payment-settings-payment-gateway-razorpay`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`receipt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Номер квитанции, соответствующий этому заказу, задаваемый для вашего внутреннего использования. Поддерживается максимальная длина до 40 символов, минимальная длина — более 0 символов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`notes`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Объект может содержать пары «ключ-значение» максимум с 15 ключами, при этом длина каждого значения ограничена 256 символами.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].action.order_details.payment_settings[].payment_gateway.zaakpay`,id:`whatsappmessage-template-components-parameters-action-order-details-payment-settings-payment-gateway-zaakpay`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для Zaakpay.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`180`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для Zaakpay.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`180`}),` символов.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].order_status`,id:`whatsappmessage-template-components-parameters-order-status`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Уникальный идентификатор заказа, предоставленный компанией.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Предоставляет только `,_jsx(_components.code,{children:`status`}),` и `,_jsx(_components.code,{children:`description`}),` этого заказа для сообщений `,_jsx(_components.code,{children:`order_status`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].order_status.order`,id:`whatsappmessage-template-components-parameters-order-status-order`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Единственное поддерживаемое значение в сообщении `,_jsx(`code`,{children:`order_details`}),` — `,_jsx(`code`,{children:`pending`}),`. В сообщении `,_jsx(`code`,{children:`order_status`}),` значением `,_jsx(`code`,{children:`status`}),` может быть: `,_jsx(`code`,{children:`pending`}),`, `,_jsx(`code`,{children:`processing`}),`, `,_jsx(`code`,{children:`partially_shipped`}),`, `,_jsx(`code`,{children:`shipped`}),`, `,_jsx(`code`,{children:`completed`}),` или `,_jsx(`code`,{children:`canceled`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Единственное поддерживаемое значение — `,_jsx(_components.code,{children:`quick_pay`}),`. При передаче этого поля мы скрываем кнопку «Review and Pay» и отображаем в карточке с деталями заказа только кнопку «Pay Now».`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Уникальный идентификатор каталога Facebook, используемого компанией. Если вы не указываете это поле, необходимо передать следующие поля внутри объекта items: `,_jsx(_components.code,{children:`country_of_origin`}),`, `,_jsx(_components.code,{children:`importer_name`}),` и `,_jsx(_components.code,{children:`importer_address`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Массив позиций в заказе.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subtotal`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Значение `,_jsx(_components.strong,{children:`должно быть равно`}),` сумме `,_jsx(_components.code,{children:`order.amount.value`}),` * `,_jsx(_components.code,{children:`order.amount.quantity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Информация о налогах для этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shipping`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Стоимость доставки заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Сумма скидки для этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Срок действия этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Необязательно.`}),` Текст для передачи информации о статусе. Может быть полезен при отправке отмены. Максимальный лимит составляет 120 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].order_status.order.items[]`,id:`whatsappmessage-template-components-parameters-order-status-order-items`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Идентификатор контента (Content ID) для позиции в заказе из вашего каталога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Название товара, отображаемое пользователю. Не может превышать 60 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Пользовательское изображение товара, отображаемое пользователю.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Цена за единицу товара.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sale_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Цена за единицу товара со скидкой. Значение должно быть меньше исходной суммы. Если указано, это поле используется для расчета промежуточного итога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Количество товаров в заказе.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_of_origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано поле `,_jsx(_components.code,{children:`catalog_id`}),`. Страна происхождения товара.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано поле `,_jsx(_components.code,{children:`catalog_id`}),`. Название компании-импортера.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано поле `,_jsx(_components.code,{children:`catalog_id`}),`. Адрес компании-импортера.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].order_status.order.items[].image`,id:`whatsappmessage-template-components-parameters-order-status-order-items-image`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайлов напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность содержимого, добавьте случайные параметры запроса к URL.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для конкретного документа. Используйте только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].order_status.order.items[].amount`,id:`whatsappmessage-template-components-parameters-order-status-order-items-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее значение суммы, умноженное на offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].order_status.order.items[].sale_amount`,id:`whatsappmessage-template-components-parameters-order-status-order-items-sale-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальное количество символов — 60.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальное количество символов — 60.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].order_status.order.subtotal`,id:`whatsappmessage-template-components-parameters-order-status-order-subtotal`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальное количество символов — 60.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальное количество символов — 60.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].order_status.order.tax`,id:`whatsappmessage-template-components-parameters-order-status-order-tax`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальное количество символов — 60.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальное количество символов — 60.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].order_status.order.shipping`,id:`whatsappmessage-template-components-parameters-order-status-order-shipping`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальное количество символов — 60.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для описания заказов со скидками и бонусами. Если заказ содержит поощрения, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].order_status.order.discount`,id:`whatsappmessage-template-components-parameters-order-status-order-discount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на коэффициент смещения (offset). Например, значение ₹12.34 передается как 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для описания заказов со скидками и бонусами. Если заказ содержит поощрения, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].order_status.order.expiration`,id:`whatsappmessage-template-components-parameters-order-status-order-expiration`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Строка с меткой времени UTC в секундах, указывающая время истечения срока действия заказа. Минимальный порог — 300 секунд.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Текстовое пояснение срока действия.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].parameters[].location`,id:`whatsappmessage-template-components-parameters-location`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`latitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Широта местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`longitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Долгота местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Адрес местоположения. Отображается только при наличии `,_jsx(_components.code,{children:`name`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[]`,id:`whatsappmessage-template-components-cards`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`card_index`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Обязательный.`}),` Порядковый номер карточки в карусели с отсчетом от нуля. 0 означает первую карточку, 1 — вторую и т. д.`]}),_jsxs(`p`,{children:[`Минимум: `,_jsx(`code`,{children:`0`}),`. Максимум: `,_jsx(`code`,{children:`9`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`components`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Компонент карточки.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[]`,id:`whatsappmessage-template-components-cards-components`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Тип компонента.`}),_jsxs(`p`,{children:[`Значения: `,_jsx(`code`,{children:`header`}),`, `,_jsx(`code`,{children:`body`}),`, `,_jsx(`code`,{children:`button`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sub_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsxs(`strong`,{children:[`Обязательно, если type имеет значение `,_jsx(`code`,{children:`button`}),`.`]}),` Тип кнопки.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`quick_reply`}),`: относится к ранее созданной кнопке быстрого ответа, позволяющей клиенту отправить предопределенное сообщение.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`url`}),`: относится к ранее созданной кнопке URL, позволяющей клиенту перейти по URL, созданному путем добавления текстового параметра к предопределенному префиксу URL в шаблоне.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`index`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsxs(`strong`,{children:[`Обязательно, если `,_jsx(`code`,{children:`type`}),` = `,_jsx(`code`,{children:`button`}),`. Не используется для других типов.`]}),` Указывает порядок отображения кнопки, если шаблон использует несколько кнопок. Кнопки индексируются с нуля, поэтому значение 0 задаст отображение кнопки первой, кнопка с индексом 1 появится следующей и т. д.`]}),_jsxs(`p`,{children:[`Минимум: `,_jsx(`code`,{children:`0`}),`. Максимум: `,_jsx(`code`,{children:`9`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`parameters`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Обязательно, если `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`button`}),`, либо если в соответствующем компоненте шаблона присутствуют переменные, либо если формат компонента карточки `,_jsx(_components.code,{children:`HEADER`}),` — медиа (`,_jsx(_components.code,{children:`IMAGE`}),`, `,_jsx(_components.code,{children:`VIDEO`}),`).`]}),` Массив объектов параметров с содержимым сообщения.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[]`,id:`whatsappmessage-template-components-cards-components-parameters`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Обязательно.`}),` Тип параметра компонента.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`text`}),`: используется, если тип компонента шаблона — `,_jsx(`code`,{children:`BODY`}),`, либо формат компонента `,_jsx(`code`,{children:`HEADER`}),` — `,_jsx(`code`,{children:`TEXT`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`image`}),`: используется, если компонент шаблона `,_jsx(`code`,{children:`HEADER`}),` — `,_jsx(`code`,{children:`IMAGE`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`gif`}),`: используется, если компонент шаблона `,_jsx(`code`,{children:`HEADER`}),` — `,_jsx(`code`,{children:`GIF`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`video`}),`: используется, если компонент шаблона `,_jsx(`code`,{children:`HEADER`}),` — `,_jsx(`code`,{children:`VIDEO`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`document`}),`: используется, если компонент шаблона `,_jsx(`code`,{children:`HEADER`}),` — `,_jsx(`code`,{children:`DOCUMENT`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`payload`}),`: используется, если тип кнопки компонента шаблона — `,_jsx(`code`,{children:`QUICK_REPLY`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`coupon_code`}),`: используется, если тип кнопки компонента шаблона — `,_jsx(`code`,{children:`COPY_CODE`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`limited_time_offer`}),`: используется, если тип компонента шаблона — `,_jsx(`code`,{children:`LIMITED_TIME_OFFER`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`action`}),`: используется, если тип кнопки компонента шаблона — `,_jsx(`code`,{children:`CATALOG`}),`, `,_jsx(`code`,{children:`MPM`}),`, `,_jsx(`code`,{children:`FLOW`}),` или `,_jsx(`code`,{children:`ORDER_DETAILS`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`order_status`}),`: используется, если подкатегория шаблона — `,_jsx(`code`,{children:`ORDER_STATUS`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`location`}),`: используется, если компонент шаблона `,_jsx(`code`,{children:`HEADER`}),` — `,_jsx(`code`,{children:`LOCATION`}),`.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Обязательно, если `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`text`}),`.`]}),` Текст сообщения. Для компонента заголовка лимит составляет 60 символов. Для компонента тела лимит составляет 1024 символа. Для кнопок с URL указывает суффикс, заданный разработчиком, который добавляется к предварительно определенному префиксу URL в шаблоне.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно для кнопок `,_jsx(_components.code,{children:`quick_reply`}),`. Задаваемая разработчиком полезная нагрузка (payload), возвращаемая при нажатии на кнопку в дополнение к отображаемому тексту на кнопке.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`coupon_code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Обязательно, если `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`coupon_code`}),`.`]}),` Код купона, копируемый при нажатии клиентом на кнопку.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Обязательно, если формат шаблона `,_jsx(_components.code,{children:`HEADER`}),` — `,_jsx(_components.code,{children:`IMAGE`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gif`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Обязательно, если формат шаблона `,_jsx(_components.code,{children:`HEADER`}),` — `,_jsx(_components.code,{children:`GIF`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Обязательно, если формат шаблона `,_jsx(_components.code,{children:`HEADER`}),` — `,_jsx(_components.code,{children:`VIDEO`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Обязательно, если формат шаблона `,_jsx(_components.code,{children:`HEADER`}),` — `,_jsx(_components.code,{children:`DOCUMENT`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`limited_time_offer`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Обязательно, если шаблон использует сведения об истечении срока действия предложения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`action`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Обязательно, если шаблон использует кнопки каталога или MPM (многотоварных сообщений).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_status`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Поля объекта перечислены ниже.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`location`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Обязательно, если `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`location`}),`.`]})})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].image`,id:`whatsappmessage-template-components-cards-components-parameters-image`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для указанного документа. Используется только с медиафайлами типа `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].gif`,id:`whatsappmessage-template-components-cards-components-parameters-gif`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для указанного документа. Используется только с медиафайлами типа `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].video`,id:`whatsappmessage-template-components-cards-components-parameters-video`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательно`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайлы загружаются на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный через WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайлов напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры строки запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применимо в `,_jsx(_components.code,{children:`header`}),` сообщений типа `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для указанного документа. Используется только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].document`,id:`whatsappmessage-template-components-cards-components-parameters-document`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайлы загружаются на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный через WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайлов напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры строки запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применимо в `,_jsx(_components.code,{children:`header`}),` сообщений типа `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для указанного документа. Используется только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].limited_time_offer`,id:`whatsappmessage-template-components-cards-components-parameters-limited-time-offer`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration_time_ms`})}),_jsx(_components.td,{children:`integer (int64)`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Обязательный параметр.`}),` Время истечения срока действия промокода в формате UNIX-timestamp в миллисекундах.`]})]})})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action`,id:`whatsappmessage-template-components-cards-components-parameters-action`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`thumbnail_product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Необязательный параметр.`}),` Используется для шаблонных сообщений каталога и MPM. Артикул товара (SKU). В Commerce Manager обозначается как Content ID. Миниатюра этого товара будет использоваться в качестве изображения заголовка сообщения. Если объект `,_jsx(_components.code,{children:`parameters`}),` опущен, будет использовано изображение первого товара из вашего каталога.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sections`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Используется для MPM-шаблонов. Секции товаров. Можно указать до 10 секций.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_token`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для кнопок `,_jsx(_components.code,{children:`FLOW`}),`. Токен Flow, генерируемый компанией для использования в качестве идентификатора. По умолчанию: `,_jsx(_components.code,{children:`unused`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_action_data`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для кнопок `,_jsx(_components.code,{children:`FLOW`}),`. JSON-объект с полезной нагрузкой данных для первого экрана.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_details`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно для кнопок `,_jsx(_components.code,{children:`order_details`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.sections[]`,id:`whatsappmessage-template-components-cards-components-parameters-action-sections`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Текст заголовка раздела. Максимум 24 символа. Markdown не поддерживается.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`24`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Массив SKU товаров. Минимум 1 товар на раздел и максимум 30 товаров во всех разделах.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.sections[].product_items[]`,id:`whatsappmessage-template-components-cards-components-parameters-action-sections-product-items`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`SKU товара, который должен отображаться в разделе. SKU товаров обозначаются как `,_jsx(_components.strong,{children:`Content ID`}),` в `,_jsx(_components.a,{href:`https://business.facebook.com/commerce`,children:`Commerce Manager`}),`.`]})]})})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Валюта для этого заказа. В настоящее время единственным поддерживаемым значением является `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Предоставляет `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`items`}),`, `,_jsx(_components.code,{children:`subtotal`}),`, `,_jsx(_components.code,{children:`tax`}),` заказа и т. д.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Уникальный идентификатор заказа, предоставленный компанией. Чувствителен к регистру, не может быть пустой строкой, может содержать только латинские буквы, цифры, знаки подчеркивания, дефисы или точки и не должен превышать 35 символов.`}),_jsxs(`p`,{children:[_jsx(`code`,{children:`reference_id`}),` должен быть уникальным для каждого сообщения order_details определенной компании. Если необходимо отправить несколько сообщений order_details для одного и того же заказа, рекомендуется включить порядковый номер в reference_id (например, “BM345A-12”), чтобы обеспечить уникальность reference_id.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`total_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Общая сумма заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Тип товаров, оплачиваемых в этом заказе. В настоящее время поддерживаются варианты `,_jsx(_components.code,{children:`digital-goods`}),` и `,_jsx(_components.code,{children:`physical-goods`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_settings`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Настройки оплаты для заказа.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.order`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-order`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Единственным поддерживаемым значением в сообщении `,_jsx(`code`,{children:`order_details`}),` является `,_jsx(`code`,{children:`pending`}),`. В сообщении `,_jsx(`code`,{children:`order_status`}),` поле `,_jsx(`code`,{children:`status`}),` может иметь значения: `,_jsx(`code`,{children:`pending`}),`, `,_jsx(`code`,{children:`processing`}),`, `,_jsx(`code`,{children:`partially_shipped`}),`, `,_jsx(`code`,{children:`shipped`}),`, `,_jsx(`code`,{children:`completed`}),` или `,_jsx(`code`,{children:`canceled`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Единственное поддерживаемое значение: `,_jsx(_components.code,{children:`quick_pay`}),`. При передаче этого поля мы скрываем кнопку “Review and Pay” и показываем только кнопку “Pay Now” во всплывающем сообщении с деталями заказа.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Уникальный идентификатор каталога Facebook, используемого компанией. Если вы не укажете это поле, необходимо предоставить следующие поля внутри объекта items: `,_jsx(_components.code,{children:`country_of_origin`}),`, `,_jsx(_components.code,{children:`importer_name`}),` и `,_jsx(_components.code,{children:`importer_address`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Массив позиций в заказе.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subtotal`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Значение `,_jsx(_components.strong,{children:`должно быть равно`}),` сумме `,_jsx(_components.code,{children:`order.amount.value`}),` * `,_jsx(_components.code,{children:`order.amount.quantity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Информация о налогах для этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shipping`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Стоимость доставки заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Сумма скидки для этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Срок действия этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Необязательно.`}),` Текст для передачи информации о статусе. Может быть полезен при отправке отмены. Максимальный лимит — 120 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.order.items[]`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-order-items`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Content ID для товара в заказе из вашего каталога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Название товара, отображаемое пользователю. Не может превышать 60 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Пользовательское изображение товара для отображения пользователю.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Цена за единицу товара.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sale_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Цена со скидкой за единицу товара. Должна быть меньше исходной суммы. При указании это поле используется для расчета промежуточного итога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Количество единиц товара в заказе.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_of_origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано `,_jsx(_components.code,{children:`catalog_id`}),`. Страна происхождения товара.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано `,_jsx(_components.code,{children:`catalog_id`}),`. Название компании-импортера.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано `,_jsx(_components.code,{children:`catalog_id`}),`. Адрес компании-импортера.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.order.items[].image`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-order-items-image`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите идентификатор медиаобъекта, полученный через WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только URL с протоколами HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл: `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Неприменимо для сообщений `,_jsx(_components.code,{children:`header`}),` типа `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для указанного документа. Используйте только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.order.items[].amount`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-order-items-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используется только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используется только для `,_jsx(`code`,{children:`discount`}),`. Текст, определяющий стимулированные заказы. Если заказ стимулированный, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.order.items[].sale_amount`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-order-items-sale-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используется только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используется только для `,_jsx(`code`,{children:`discount`}),`. Текст, определяющий стимулированные заказы. Если заказ стимулированный, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.order.subtotal`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-order-subtotal`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используется только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используется только для `,_jsx(`code`,{children:`discount`}),`. Текст, определяющий стимулированные заказы. Если заказ стимулированный, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.order.tax`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-order-tax`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на коэффициент offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст для обозначения поощрительных заказов (со скидкой). Если заказ содержит поощрение, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.order.shipping`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-order-shipping`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на коэффициент offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст для обозначения поощрительных заказов (со скидкой). Если заказ содержит поощрение, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.order.discount`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-order-discount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на коэффициент offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст для обозначения поощрительных заказов (со скидкой). Если заказ содержит поощрение, продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.order.expiration`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-order-expiration`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Строка с временной меткой UTC в секундах, указывающая время, когда истекает срок действия заказа. Минимальный порог — 300 секунд.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Текстовое пояснение истечения срока действия.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.total_amount`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-total-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 соответствует значению 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения стимулированных заказов. Если заказ поощрительный (со скидкой/бонусом), продавцу необходимо указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.payment_settings[]`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-payment-settings`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть установлено значение `,_jsx(_components.code,{children:`payment_gateway`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_gateway`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Объект, описывающий данные платежного аккаунта.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.payment_settings[].payment_gateway`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-payment-settings-payment-gateway`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Тип платежа. Необходимо указать `,_jsx(`code`,{children:`billdesk`}),`, `,_jsx(`code`,{children:`razorpay`}),`, `,_jsx(`code`,{children:`payu`}),` или `,_jsx(`code`,{children:`zaakpay`}),`, если вы подключили платежный шлюз BillDesk, Razorpay, PayU или Zaakpay для приема платежей.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`configuration_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Имя предварительно настроенной конфигурации платежей для этого заказа; длина не должна превышать 60 символов. Это значение должно совпадать с конфигурацией платежей, настроенной в WhatsApp Business Manager.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`billdesk`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для BillDesk. Пользовательские поля (extra) используются для сохранения любых сведений, относящихся к конкретному заказу. Максимальная длина каждого поля extra составляет 120 символов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payu`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для PayU. Пользовательские поля (udf) используются для сохранения любых сведений, относящихся к конкретному заказу. Максимальная длина каждого поля UDF составляет 255 символов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`razorpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для Razorpay.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`zaakpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для Zaakpay. Пользовательские поля (extra) используются для сохранения любых сведений, относящихся к конкретному заказу. Максимальная длина каждого поля extra составляет 180 символов.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.payment_settings[].payment_gateway.billdesk`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-payment-settings-payment-gateway-billdesk`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info5`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info6`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info7`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.payment_settings[].payment_gateway.payu`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-payment-settings-payment-gateway-payu`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.payment_settings[].payment_gateway.razorpay`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-payment-settings-payment-gateway-razorpay`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`receipt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Номер квитанции, соответствующий этому заказу, заданный для внутреннего использования. Поддерживается максимальная длина до 40 символов, минимальная длина должна быть больше 0 символов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`notes`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Объект может содержать пары «ключ-значение» максимум с 15 ключами, при этом длина каждого значения ограничена 256 символами.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].action.order_details.payment_settings[].payment_gateway.zaakpay`,id:`whatsappmessage-template-components-cards-components-parameters-action-order-details-payment-settings-payment-gateway-zaakpay`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для Zaakpay.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`180`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для Zaakpay.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`180`}),` символов.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].order_status`,id:`whatsappmessage-template-components-cards-components-parameters-order-status`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Уникальный идентификатор заказа, предоставленный компанией.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Предоставляет только `,_jsx(_components.code,{children:`status`}),` и `,_jsx(_components.code,{children:`description`}),` этого заказа для сообщений `,_jsx(_components.code,{children:`order_status`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].order_status.order`,id:`whatsappmessage-template-components-cards-components-parameters-order-status-order`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Единственное поддерживаемое значение в сообщении `,_jsx(`code`,{children:`order_details`}),` — `,_jsx(`code`,{children:`pending`}),`. В сообщении `,_jsx(`code`,{children:`order_status`}),` поле `,_jsx(`code`,{children:`status`}),` может быть: `,_jsx(`code`,{children:`pending`}),`, `,_jsx(`code`,{children:`processing`}),`, `,_jsx(`code`,{children:`partially_shipped`}),`, `,_jsx(`code`,{children:`shipped`}),`, `,_jsx(`code`,{children:`completed`}),` или `,_jsx(`code`,{children:`canceled`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Единственное поддерживаемое значение — `,_jsx(_components.code,{children:`quick_pay`}),`. Когда это поле передано, мы скрываем кнопку «Review and Pay» и отображаем только кнопку «Pay Now» во всплывающем блоке сведений о заказе.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Уникальный идентификатор каталога Facebook, используемого бизнесом. Если вы не укажете это поле, вы должны указать следующие поля внутри объекта items: `,_jsx(_components.code,{children:`country_of_origin`}),`, `,_jsx(_components.code,{children:`importer_name`}),` и `,_jsx(_components.code,{children:`importer_address`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Массив позиций в заказе.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subtotal`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Значение `,_jsx(_components.strong,{children:`должно быть равно`}),` сумме `,_jsx(_components.code,{children:`order.amount.value`}),` * `,_jsx(_components.code,{children:`order.amount.quantity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Информация о налогах для этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shipping`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Стоимость доставки заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Сумма скидки для этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Срок действия этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Необязательно.`}),` Текст для передачи информации, связанной со статусом. Может быть полезен при отправке отмены. Максимальный лимит составляет 120 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].order_status.order.items[]`,id:`whatsappmessage-template-components-cards-components-parameters-order-status-order-items`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Идентификатор контента (Content ID) для позиции в заказе из вашего каталога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Название позиции для отображения пользователю. Не может превышать 60 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Пользовательское изображение позиции для отображения пользователю.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Цена за единицу товара.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sale_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Цена со скидкой за единицу товара. Она должна быть меньше исходной суммы. Если указано, это поле используется для расчета промежуточного итога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Количество позиций в заказе.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_of_origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано поле `,_jsx(_components.code,{children:`catalog_id`}),`. Страна происхождения товара.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано поле `,_jsx(_components.code,{children:`catalog_id`}),`. Название компании-импортера.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если не указано поле `,_jsx(_components.code,{children:`catalog_id`}),`. Адрес компании-импортера.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].order_status.order.items[].image`,id:`whatsappmessage-template-components-cards-components-parameters-order-status-order-items-image`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный через WhatsApp API загрузки медиафайлов (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это поле при отправке медиафайлов напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL-адресами HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение самого актуального контента, добавляйте к URL случайные параметры запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для конкретного документа. Используется только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].order_status.order.items[].amount`,id:`whatsappmessage-template-components-cards-components-parameters-order-status-order-items-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на смещение (offset). Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].order_status.order.items[].sale_amount`,id:`whatsappmessage-template-components-cards-components-parameters-order-status-order-items-sale-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на смещение (offset). Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].order_status.order.subtotal`,id:`whatsappmessage-template-components-cards-components-parameters-order-status-order-subtotal`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на смещение (offset). Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].order_status.order.tax`,id:`whatsappmessage-template-components-cards-components-parameters-order-status-order-tax`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].order_status.order.shipping`,id:`whatsappmessage-template-components-cards-components-parameters-order-status-order-shipping`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].order_status.order.discount`,id:`whatsappmessage-template-components-cards-components-parameters-order-status-order-discount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее значение суммы, умноженное на смещение (offset). Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].order_status.order.expiration`,id:`whatsappmessage-template-components-cards-components-parameters-order-status-order-expiration`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Строка с меткой времени UTC в секундах, указывающая время истечения срока действия заказа. Минимальный порог составляет 300 секунд.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Текстовое объяснение причины истечения срока действия.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.template.components[].cards[].components[].parameters[].location`,id:`whatsappmessage-template-components-cards-components-parameters-location`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`latitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Широта местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`longitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Долгота местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Адрес местоположения. Отображается только при наличии `,_jsx(_components.code,{children:`name`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.text`,id:`whatsappmessage-text`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Обязательно для текстовых сообщений. Текст текстового сообщения, который может содержать URL-адреса, начинающиеся с http:// или https://, а также форматирование. Ознакомьтесь с доступными вариантами форматирования здесь. Если вы включаете URL-адреса в текст и хотите добавить блок предварительного просмотра в текстовые сообщения (preview_url: true), убедитесь, что URL-адрес начинается с http:// или https:// — предпочтительны адреса с https://. Необходимо указать имя хоста, так как IP-адреса не распознаются. Максимальная длина: 4096 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`4096`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`preview_url`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`По умолчанию WhatsApp распознает URL-адреса и делает их кликабельными, но вы также можете включить блок предварительного просмотра с дополнительной информацией о ссылке. Установите для этого поля значение true, если хотите включить блок предварительного просмотра URL. В большинстве случаев получатель увидит URL-адрес, по которому можно перейти, когда вы отправляете URL, устанавливаете для preview_url значение true и передаете объект body со ссылкой http или https. Предварительный просмотр URL отображается только после выполнения одного из следующих условий:`}),_jsxs(`ul`,{children:[_jsx(`li`,{children:`Бизнес отправил пользователю шаблон сообщения.`}),_jsx(`li`,{children:`Пользователь начинает переписку по ссылке «чат в один клик».`}),_jsxs(`li`,{children:[`Пользователь добавляет номер телефона бизнеса в свою адресную книгу и начинает переписку. По умолчанию: `,_jsx(`code`,{children:`false`}),`.`]})]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.image`,id:`whatsappmessage-image`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите идентификатор медиаобъекта, полученный через WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайлов напрямую со своего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с HTTP/HTTPS URL.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры строки запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, `,_jsx(`code`,{children:`id`}),` имеет приоритет, а `,_jsx(`code`,{children:`link`}),` игнорируется.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для указанного документа. Используется только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.video`,id:`whatsappmessage-video`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр, если медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL-адресами HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры запроса.`}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Задает имя файла для конкретного документа. Используйте только для медиафайлов `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.audio`,id:`whatsappmessage-audio`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр, если медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL-адресами HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры запроса.`}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Задает имя файла для конкретного документа. Используйте только для медиафайлов `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.document`,id:`whatsappmessage-document`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр, если медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL-адресами HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального содержимого, добавьте к URL случайные параметры запроса.`}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл: `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применимо в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для конкретного документа. Используется только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.sticker`,id:`whatsappmessage-sticker`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать актуальность контента, добавьте к URL случайные параметры запроса.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл: `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применимо в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для конкретного документа. Используется только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.location`,id:`whatsappmessage-location`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`latitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Широта местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`longitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Долгота местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название местоположения.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Адрес местоположения. Отображается только в том случае, если присутствует `,_jsx(_components.code,{children:`name`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive`,id:`whatsappmessage-interactive`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Обязательный.`}),` Тип интерактивного сообщения, которое вы хотите отправить.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`button`}),`: используется для Reply Buttons.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`list`}),`: используется для List Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`cta_url`}),`: используется для Call-To-Action (CTA) URL Button Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`product`}),`: используется для Single Product Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`product_list`}),`: используется для Multi-Product Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`catalog_message`}),`: используется для Catalog Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`location_request_message`}),`: используется для Location Request Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`order_details`}),`: используется для Order Details Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`order_status`}),`: используется для Order Status Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`voice_call`}),`: используется для Voice Call Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`flow`}),`: используется для Flow Messages.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`action`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Обязательный.`}),` Действие, которое должен выполнить пользователь после прочтения сообщения `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Необязательно для типа `,_jsx(_components.code,{children:`product`}),`. Обязательно для других типов сообщений.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`header`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно для типа `,_jsx(_components.code,{children:`product_list`}),`. Необязательно для других типов.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`footer`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Необязательно. Объект с нижним колонтитулом (footer) сообщения.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action`,id:`whatsappmessage-interactive-action`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`buttons`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Обязательно для кнопок ответа (Reply Buttons). Можно добавить до 3 кнопок.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`button`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Обязательно для сообщений со списком (List Messages). Текст кнопки. Не может быть пустой строкой и должен быть уникальным в пределах сообщения. Эмодзи поддерживаются, форматирование markdown — нет. Максимальная длина: 20 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`20`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно для сообщений с одним товаром (Single Product Messages) и несколькими товарами (Multi-Product Messages). Уникальный идентификатор каталога Facebook, привязанного к вашему WhatsApp Business Account. Этот ID можно получить через `,_jsx(_components.a,{href:`https://business.facebook.com/commerce`,children:`Meta Commerce Manager`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Обязательно для сообщений с одним товаром (Single Product Messages) и несколькими товарами (Multi-Product Messages). Уникальный идентификатор товара в каталоге.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sections`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Обязательно для сообщений со списком (List Messages) и сообщений с несколькими товарами (Multi-Product Messages). Массив объектов разделов. Минимум 1, максимум 10.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Название действия. Обязательно для кнопок с призывом к действию (CTA).`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`cta_url`}),`: используется для кнопок-ссылок с призывом к действию (CTA URL).`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`catalog_message`}),`: используется для сообщений каталога (Catalog Messages).`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`send_location`}),`: используется для кнопок запроса геопозиции (Location Request).`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`flow`}),`: используется для кнопок Flow.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`review_and_pay`}),`: используется для кнопок деталей заказа (Order Details).`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`review_order`}),`: используется для кнопок статуса заказа (Order Status).`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`voice_call`}),`: используется для кнопок голосового вызова (Voice Call).`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`parameters`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Параметры действия. Обязательно для кнопок с призывом к действию (CTA).`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.buttons[]`,id:`whatsappmessage-interactive-action-buttons`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Единственный поддерживаемый тип — `,_jsx(`code`,{children:`reply`}),` (для кнопки ответа Reply Button).`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reply`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Поля объекта перечислены ниже.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.buttons[].reply`,id:`whatsappmessage-interactive-action-buttons-reply`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Заголовок кнопки. Не может быть пустой строкой и должен быть уникальным в пределах сообщения. Эмодзи поддерживаются, форматирование markdown — нет. Максимальная длина: 20 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`20`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Уникальный идентификатор кнопки. Этот ID возвращается в Webhook при нажатии кнопки пользователем. Максимальная длина: 256 символов. Пробелы в начале или конце идентификатора не допускаются.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`256`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.sections[]`,id:`whatsappmessage-interactive-action-sections`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Обязательно, если сообщение содержит более одного раздела.`}),` Заголовок раздела. Максимальная длина: 24 символа.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`24`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rows`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Содержит список строк. Во всех разделах в сумме может быть до 10 строк. У каждой строки должен быть заголовок (максимальная длина: 24 символа) и ID (максимальная длина: 200 символов). Вы можете добавить описание (максимальная длина: 72 символа), но оно необязательно.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Обязательно для сообщений с несколькими товарами (Multi-Product Messages). Массив объектов товаров. Минимум 1 товар на секцию и максимум 30 товаров во всех секциях.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.sections[].rows[]`,id:`whatsappmessage-interactive-action-sections-rows`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Уникальный идентификатор строки. Максимальная длина: 200 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`200`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Текст заголовка строки. Максимальная длина: 24 символа.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`24`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Текст описания строки. Максимальная длина: 72 символа.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`72`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.sections[].product_items[]`,id:`whatsappmessage-interactive-action-sections-product-items`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Обязательно для сообщений с несколькими товарами (Multi-Product Messages). Уникальный идентификатор товара в каталоге.`})]})})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters`,id:`whatsappmessage-interactive-action-parameters`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`display_text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Текст кнопки CTA URL. Максимальная длина: 20 байт.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`20`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`URL кнопки CTA URL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`thumbnail_product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Артикул (SKU) товара. Имеет метку `,_jsx(_components.strong,{children:`Content ID`}),` в `,_jsx(_components.a,{href:`https://business.facebook.com/commerce`,children:`Commerce Manager`}),`. Миниатюра этого товара будет использоваться в качестве изображения заголовка сообщения.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_message_version`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для кнопок `,_jsx(_components.code,{children:`flow`}),`. Значение должно быть “3”.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_token`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для кнопок `,_jsx(_components.code,{children:`flow`}),`. Токен Flow, создаваемый компанией для использования в качестве идентификатора. По умолчанию: `,_jsx(_components.code,{children:`unused`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Условно обязательно для кнопок `,_jsx(_components.code,{children:`flow`}),`. Уникальный идентификатор Flow, предоставленный WhatsApp. Не может использоваться вместе с параметром `,_jsx(_components.code,{children:`flow_name`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Условно обязательно для кнопок `,_jsx(_components.code,{children:`flow`}),`. Название созданного вами Flow. Не может использоваться вместе с параметром `,_jsx(_components.code,{children:`flow_id`}),`. При изменении названия Flow потребуется обновить этот параметр в соответствии с новым названием.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_cta`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Обязательно для кнопок `,_jsx(`code`,{children:`flow`}),`. Текст на кнопке CTA. Например: “Open flow!”. Максимальная длина: 20 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`20`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_action`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для кнопок `,_jsx(_components.code,{children:`flow`}),`. Либо `,_jsx(_components.code,{children:`navigate`}),`, либо `,_jsx(_components.code,{children:`data_exchange`}),`. По умолчанию: `,_jsx(_components.code,{children:`navigate`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_action_payload`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если `,_jsx(_components.code,{children:`flow_action`}),` имеет значение `,_jsx(_components.code,{children:`navigate`}),`. В противном случае параметр должен быть опущен.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Обязательно для кнопок `,_jsx(`code`,{children:`review_ и _pay`}),`. Уникальный идентификатор заказа, предоставляемый компанией. Чувствителен к регистру, не может быть пустой строкой, может содержать только латинские буквы, цифры, знаки подчеркивания, дефисы или точки и не должен превышать 35 символов.`]}),_jsxs(`p`,{children:[`Параметр `,_jsx(`code`,{children:`reference_id`}),` должен быть уникальным для каждого сообщения order_details для данной компании. Если необходимо отправить несколько сообщений order_details для одного и того же заказа, рекомендуется включить порядковый номер в reference_id (например, “BM345A-12”) для обеспечения уникальности reference_id.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно для кнопок `,_jsx(_components.code,{children:`review_and_pay`}),`. Тип товаров, оплачиваемых в этом заказе. В настоящее время поддерживаются варианты `,_jsx(_components.code,{children:`digital-goods`}),` и `,_jsx(_components.code,{children:`physical-goods`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`beneficiaries`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно для кнопок `,_jsx(_components.code,{children:`review_and_pay`}),`. Массив получателей (бенефициаров) для этого заказа. Получатель — это предполагаемый адресат для доставки физических товаров из заказа. Информация о получателе не отображается пользователям, но требуется по юридическим причинам и требованиям комплаенса.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно для кнопок `,_jsx(_components.code,{children:`review_and_pay`}),`. Валюта для этого заказа. В настоящее время единственным поддерживаемым значением является `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`total_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно для кнопок `,_jsx(_components.code,{children:`review_and_pay`}),`. Общая сумма для этого заказа.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Обязательно для кнопок `,_jsx(`code`,{children:`review_and_pay`}),` или `,_jsx(`code`,{children:`review_order`}),`.`]}),_jsxs(`p`,{children:[`Для кнопок `,_jsx(`code`,{children:`review_and_pay`}),` предоставляет сведения о заказе: `,_jsx(`code`,{children:`status`}),`, `,_jsx(`code`,{children:`items`}),`, `,_jsx(`code`,{children:`subtotal`}),`, `,_jsx(`code`,{children:`tax`}),` и т. д.`]}),_jsxs(`p`,{children:[`Для кнопок `,_jsx(`code`,{children:`review_order`}),` предоставляет только `,_jsx(`code`,{children:`status`}),` и `,_jsx(`code`,{children:`description`}),` заказа.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_settings`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно для кнопок `,_jsx(_components.code,{children:`review_and_pay`}),`. Параметры оплаты заказа.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.flow_action_payload`,id:`whatsappmessage-interactive-action-parameters-flow-action-payload`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`screen`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Идентификатор экрана, отображаемого первым. Он должен быть экраном типа `,_jsx(_components.strong,{children:`entry`}),` .`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Необязательные входные данные для первого экрана Flow. Если указан, этот объект не должен быть пустым.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.beneficiaries[]`,id:`whatsappmessage-interactive-action-parameters-beneficiaries`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Имя физического лица или название компании, получающей физические товары. Длина не может превышать 200 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`200`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address_line1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Адрес доставки (номер дома/корпуса, название улицы и т. д.). Длина не может превышать 100 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`100`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address_line2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Адрес доставки (ориентир, район и т. д.). Длина не может превышать 100 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`100`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`city`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Название города.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`state`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Название штата/региона.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Название страны. В настоящее время единственным поддерживаемым значением является `,_jsx(_components.code,{children:`India`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`postal_code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`6-значный почтовый индекс адреса доставки.`}),_jsxs(`p`,{children:[`Минимальная длина: `,_jsx(`code`,{children:`6`}),`. Максимальная длина: `,_jsx(`code`,{children:`6`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.total_amount`,id:`whatsappmessage-interactive-action-parameters-total-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее значение суммы, умноженное на смещение. Например, ₹12.34 имеет значение 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальный лимит символов — 60.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для описания поощрительных заказов. Если заказ поощрительный, продавцу необходимо указать эту информацию. Максимальный лимит символов — 60.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.order`,id:`whatsappmessage-interactive-action-parameters-order`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Единственное поддерживаемое значение в сообщении `,_jsx(`code`,{children:`order_details`}),` — `,_jsx(`code`,{children:`pending`}),`. В сообщении `,_jsx(`code`,{children:`order_status`}),` значение `,_jsx(`code`,{children:`status`}),` может быть: `,_jsx(`code`,{children:`pending`}),`, `,_jsx(`code`,{children:`processing`}),`, `,_jsx(`code`,{children:`partially_shipped`}),`, `,_jsx(`code`,{children:`shipped`}),`, `,_jsx(`code`,{children:`completed`}),` или `,_jsx(`code`,{children:`canceled`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Единственное поддерживаемое значение — `,_jsx(_components.code,{children:`quick_pay`}),`. При передаче этого поля кнопка «Review and Pay» скрывается, и в блоке с деталями заказа отображается только кнопка «Pay Now».`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Уникальный идентификатор каталога Facebook, используемого компанией. Если вы не укажете это поле, необходимо передать следующие поля внутри объекта items: `,_jsx(_components.code,{children:`country_of_origin`}),`, `,_jsx(_components.code,{children:`importer_name`}),` и `,_jsx(_components.code,{children:`importer_address`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Массив позиций в заказе.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subtotal`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Значение `,_jsx(_components.strong,{children:`должно быть равно`}),` сумме `,_jsx(_components.code,{children:`order.amount.value`}),` * `,_jsx(_components.code,{children:`order.amount.quantity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Информация о налогах для этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shipping`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Стоимость доставки заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Сумма скидки для этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Срок действия этого заказа.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Необязательно.`}),` Текст для передачи информации о статусе. Может быть полезен при отправке отмены. Максимальный лимит символов — 120.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.order.items[]`,id:`whatsappmessage-interactive-action-parameters-order-items`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Идентификатор контента для позиции в заказе из вашего каталога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Название позиции, отображаемое пользователю. Не может превышать 60 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Пользовательское изображение для позиции, отображаемое пользователю.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Цена за единицу товара.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sale_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Цена за единицу товара со скидкой. Должна быть меньше исходной стоимости. Если поле указано, оно используется для расчета промежуточного итога.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Количество позиций в заказе.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_of_origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если `,_jsx(_components.code,{children:`catalog_id`}),` отсутствует. Страна происхождения продукта.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если `,_jsx(_components.code,{children:`catalog_id`}),` отсутствует. Название компании-импортера.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Обязательно, если `,_jsx(_components.code,{children:`catalog_id`}),` отсутствует. Адрес компании-импортера.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.order.items[].image`,id:`whatsappmessage-interactive-action-parameters-order-items-image`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это, когда медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте это при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только с URL HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание: WhatsApp Cloud API кэширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального контента, добавляйте случайные строки параметров запроса (query strings) к URL.`}),_jsxs(`p`,{children:[`Примечание: необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для конкретного документа. Используйте только для медиафайлов типа `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.order.items[].amount`,id:`whatsappmessage-interactive-action-parameters-order-items-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, значение для ₹12.34 равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения стимулированных заказов. Если заказ является стимулированным, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.order.items[].sale_amount`,id:`whatsappmessage-interactive-action-parameters-order-items-sale-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, значение для ₹12.34 равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для определения стимулированных заказов. Если заказ является стимулированным, продавцу необходимо указать эту информацию. Максимальный лимит — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.order.subtotal`,id:`whatsappmessage-interactive-action-parameters-order-subtotal`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, значение для ₹12.34 равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.order.tax`,id:`whatsappmessage-interactive-action-parameters-order-tax`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.order.shipping`,id:`whatsappmessage-interactive-action-parameters-order-shipping`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.order.discount`,id:`whatsappmessage-interactive-action-parameters-order-discount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно быть `,_jsx(_components.code,{children:`100`}),` для `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Положительное целое число, представляющее сумму, умноженную на offset. Например, для ₹12.34 значение равно 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),` или `,_jsx(`code`,{children:`discount`}),`. Описание суммы. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Используйте только для `,_jsx(`code`,{children:`discount`}),`. Текст, используемый для обозначения поощрительных заказов. Если заказ поощрительный, продавец должен указать эту информацию. Максимальная длина — 60 символов.`]}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.order.expiration`,id:`whatsappmessage-interactive-action-parameters-order-expiration`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Строка с меткой времени UTC в секундах, указывающая время истечения срока действия заказа. Минимальный порог — 300 секунд.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Текстовое пояснение истечения срока действия.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.payment_settings[]`,id:`whatsappmessage-interactive-action-parameters-payment-settings`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Должно иметь значение `,_jsx(_components.code,{children:`payment_gateway`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_gateway`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Объект, содержащий информацию о платежном аккаунте.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.payment_settings[].payment_gateway`,id:`whatsappmessage-interactive-action-parameters-payment-settings-payment-gateway`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Тип платежа. Необходимо указать `,_jsx(`code`,{children:`billdesk`}),`, `,_jsx(`code`,{children:`razorpay`}),`, `,_jsx(`code`,{children:`payu`}),` или `,_jsx(`code`,{children:`zaakpay`}),`, если вы подключили платежный шлюз BillDesk, Razorpay, PayU или Zaakpay для приема платежей.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`configuration_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Название предварительно настроенной конфигурации платежей, используемой для этого заказа; длина не должна превышать 60 символов. Это значение должно совпадать с конфигурацией платежей, настроенной в WhatsApp Business Manager.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`billdesk`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для BillDesk. Пользовательские поля (extra) используются для хранения любой информации, относящейся к конкретному заказу. Каждое поле extra может содержать не более 120 символов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payu`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для PayU. Пользовательские поля (udf) используются для хранения любой информации, относящейся к конкретному заказу. Каждое поле UDF может содержать не более 255 символов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`razorpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для Razorpay.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`zaakpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительная информация для Zaakpay. Пользовательские поля (extra) используются для хранения любой информации, относящейся к конкретному заказу. Каждое поле extra может содержать не более 180 символов.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.payment_settings[].payment_gateway.billdesk`,id:`whatsappmessage-interactive-action-parameters-payment-settings-payment-gateway-billdesk`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info5`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info6`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info7`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для BillDesk.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`120`}),` символов.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.payment_settings[].payment_gateway.payu`,id:`whatsappmessage-interactive-action-parameters-payment-settings-payment-gateway-payu`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для PayU.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`255`}),` символов.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.payment_settings[].payment_gateway.razorpay`,id:`whatsappmessage-interactive-action-parameters-payment-settings-payment-gateway-razorpay`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`receipt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Номер квитанции, соответствующий этому заказу, задаваемый для вашей внутренней отчетности. Поддерживается максимальная длина 40 символов при минимальной длине более 0 символов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`notes`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Объект может представлять собой пары «ключ-значение» максимум с 15 ключами, при этом длина каждого значения ограничена 256 символами.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.action.parameters.payment_settings[].payment_gateway.zaakpay`,id:`whatsappmessage-interactive-action-parameters-payment-settings-payment-gateway-zaakpay`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для Zaakpay.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`180`}),` символов.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Пользовательская информация об этом заказе для Zaakpay.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`180`}),` символов.`]})]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.body`,id:`whatsappmessage-interactive-body`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Основной текст сообщения. Поддерживаются эмодзи и markdown. Максимальная длина: 1024 символа.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`1024`}),`.`]})]})]})})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.header`,id:`whatsappmessage-interactive-header`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Обязательно.`}),` Тип заголовка, который вы хотите использовать.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`text`}),`: используется для сообщений со списком (List Messages), кнопок ответа (Reply Buttons) и сообщений с несколькими товарами (Multi-Product Messages).`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`video`}),`: используется для кнопок ответа (Reply Buttons).`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`image`}),`: используется для кнопок ответа (Reply Buttons).`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`document`}),`: используется для кнопок ответа (Reply Buttons).`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Текст для заголовка. Форматирование поддерживает эмодзи, но не markdown.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для сообщений типа `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),` или `,_jsx(_components.code,{children:`sticker`}),`. См. также `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Поддерживаемые типы медиафайлов`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для сообщений типа `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),` или `,_jsx(_components.code,{children:`sticker`}),`. См. также `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Поддерживаемые типы медиафайлов`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Используется для сообщений типа `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),` или `,_jsx(_components.code,{children:`sticker`}),`. См. также `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Поддерживаемые типы медиафайлов`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.header.image`,id:`whatsappmessage-interactive-header-image`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр, если медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального контента, добавляйте к URL случайные параметры запроса.`}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений типа `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для конкретного документа. Используется только с медиафайлами типа `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.header.video`,id:`whatsappmessage-interactive-header-video`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр, если медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального контента, добавляйте к URL случайные параметры запроса.`}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применяется в `,_jsx(_components.code,{children:`header`}),` сообщений типа `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для конкретного документа. Используется только с медиафайлами типа `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.header.document`,id:`whatsappmessage-interactive-header-document`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр, если медиафайл загружен на серверы WhatsApp.`})}),_jsxs(`p`,{children:[`Укажите ID медиаобъекта, полученный из WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Используйте этот параметр при отправке медиафайла напрямую с вашего сервера.`})}),_jsx(`p`,{children:`Протокол и URL отправляемого медиафайла. Используйте только URL-адреса HTTP/HTTPS.`}),_jsx(`p`,{children:`Примечание. WhatsApp Cloud API кеширует медиаресурсы на 10 минут. Чтобы гарантировать получение актуального контента, добавляйте к URL случайные параметры запроса.`}),_jsxs(`p`,{children:[`Примечание. Необходимо указать либо `,_jsx(`code`,{children:`id`}),`, либо `,_jsx(`code`,{children:`link`}),`. Если указаны оба параметра, приоритет имеет `,_jsx(`code`,{children:`id`}),`, а `,_jsx(`code`,{children:`link`}),` будет проигнорирован.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает указанный медиафайл `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),` или `,_jsx(_components.code,{children:`document`}),`. Не применимо в `,_jsx(_components.code,{children:`header`}),` сообщений `,_jsx(_components.code,{children:`template`}),` или `,_jsx(_components.code,{children:`interactive`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Описывает имя файла для конкретного документа. Используется только с медиафайлами `,_jsx(_components.code,{children:`document`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.interactive.footer`,id:`whatsappmessage-interactive-footer`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Содержимое нижнего колонтитула (footer). Поддерживаются эмодзи и markdown. Поддерживаются ссылки. Максимальная длина: 60 символов.`}),_jsxs(`p`,{children:[`Максимальная длина: `,_jsx(`code`,{children:`60`}),`.`]})]})]})})]})}),_jsx(Accordion,{title:`whatsappMessage.contacts[]`,id:`whatsappmessage-contacts`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`addresses`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Элементы массива описаны ниже.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`birthday`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Строка в формате `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`emails`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Элементы массива описаны ниже.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Полное имя контакта, отформатированное как объект name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`org`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Информация об организации контакта, отформатированная как объект org.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phones`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Номер(а) телефона контакта, отформатированные как объект phone.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`urls`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`URL-адрес(а) контакта, отформатированные как объект urls.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`vcard`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Необязательная визитная карточка vCard, переданная вместе с полезной нагрузкой общего контакта.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Устанавливается в `,_jsx(_components.code,{children:`contact_request`}),`, когда пользователь поделился контактом в ответ на сообщение с запросом контактных данных.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.contacts[].addresses[]`,id:`whatsappmessage-contacts-addresses`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`street`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Номер дома и название улицы.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`city`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название города.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`state`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Аббревиатура штата/региона.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`zip`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Почтовый индекс.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Полное название страны.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Двухбуквенный код страны.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Стандартные значения: `,_jsx(_components.code,{children:`HOME`}),` и `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.contacts[].emails[]`,id:`whatsappmessage-contacts-emails`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`email`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Адрес электронной почты.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Стандартные значения: `,_jsx(_components.code,{children:`HOME`}),` и `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.contacts[].name`,id:`whatsappmessage-contacts-name`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`formatted_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Полное имя в его обычном виде.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`first_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Имя.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`last_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Фамилия.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`middle_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Второе имя (отчество).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`suffix`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Суффикс имени.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`prefix`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Префикс имени.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.contacts[].org`,id:`whatsappmessage-contacts-org`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`company`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название компании контакта.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`department`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Название отдела контакта.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Должность контакта в компании.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.contacts[].phones[]`,id:`whatsappmessage-contacts-phones`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Автоматически заполняется значением `,_jsx(_components.code,{children:`wa_id`}),` в виде отформатированного номера телефона.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Стандартные значения: `,_jsx(_components.code,{children:`CELL`}),`, `,_jsx(_components.code,{children:`MAIN`}),`, `,_jsx(_components.code,{children:`IPHONE`}),`, `,_jsx(_components.code,{children:`HOME`}),` и `,_jsx(_components.code,{children:`WORK`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wa_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`WhatsApp ID.`})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.contacts[].urls[]`,id:`whatsappmessage-contacts-urls`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`URL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Стандартные значения: `,_jsx(_components.code,{children:`HOME`}),` и `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.reaction`,id:`whatsappmessage-reaction`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsxs(_components.td,{children:[`Задает `,_jsx(_components.code,{children:`wamid`}),` полученного сообщения, содержавшего реакцию.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`emoji`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Обязательно`}),` при отправке сообщения `,_jsx(_components.code,{children:`reaction`}),`. Установите значение `,_jsx(_components.code,{children:`\"\"`}),`, если хотите удалить эмодзи. `,_jsx(_components.strong,{children:`Необязательно`}),` при получении сообщения от пользователя. Это поле передается, когда пользователь реагирует на сообщения с помощью эмодзи. В противном случае это указывает на то, что пользователь удалил эмодзи.`]})]})]})]})}),_jsx(Accordion,{title:`whatsappMessage.context`,id:`whatsappmessage-context`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[`Задает `,_jsx(_components.code,{children:`wamid`}),` сообщения, на которое вы отвечаете. `,_jsx(_components.code,{children:`wamid`}),` — это исходный идентификатор сообщения на платформе WhatsApp.`]})]})})]})}),_jsx(Accordion,{title:`whatsappMessage.whatsappApiError`,id:`whatsappmessage-whatsappapierror`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`Тип`}),_jsx(_components.th,{children:`Обязательный`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Удобочитаемое описание ошибки.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Да`}),_jsx(_components.td,{children:`Код ошибки.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Тип ошибки.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_subcode`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Дополнительный код ошибки.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_user_msg`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Сообщение для отображения пользователю. Язык сообщения определяется локалью API-запроса.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_user_title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Заголовок диалогового окна, если оно отображается. Язык сообщения определяется локалью API-запроса.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fbtrace_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Нет`}),_jsx(_components.td,{children:`Внутренний идентификатор службы поддержки. При сообщении об ошибке, связанной с вызовом Graph API, укажите fbtrace_id, чтобы помочь нам найти данные в логах для отладки.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_data`})}),_jsx(_components.td,{children:`string or object`}),_jsx(_components.td,{children:`Нет`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Дополнительные данные об ошибке. Строка или ассоциативный массив (map).`}),_jsxs(`ul`,{children:[_jsx(`li`,{children:`Для API шаблонов это поле представляет собой строку с описанием причины ошибки.`}),_jsxs(`li`,{children:[`Для API сообщений это поле представляет собой map со свойством `,_jsx(`code`,{children:`details`}),`, описывающим причину ошибки.`]})]})]})]})]})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`пример`,children:`Пример`}),`\n`,_jsx(_components.p,{children:`Следующий фрагмент JSON представляет собой тело, доставленное вашему получателю. Идентификаторы, номера телефонов и другие значения аккаунта приведены в качестве примера.`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Входящее сообщение из истории`,id:`vkhodyaschee-soobschenie-iz-istorii`,children:[_jsx(_components.p,{children:`Входящее сообщение из истории использует whatsappInboundMessage. phase и progress сообщают о синхронизации фрагмента истории.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`23`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_example_smb_history_inbound\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-09T08:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`40`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"whatsappInboundMessage\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"INBOUND_MESSAGE_ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wamid\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.INBOUND_EXAMPLE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wabaId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"WABA_ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+12025550124\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+12025550123\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"What time can I collect my order?\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"customerProfile\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Example customer\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sendTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-08T12:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Исходящее сообщение из истории`,id:`iskhodyaschee-soobschenie-iz-istorii`,children:[_jsx(_components.p,{children:`Исходящее сообщение из истории использует whatsappMessage. Не маршрутизируйте его как входящее сообщение.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_example_smb_history_outbound\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-09T08:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`60`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"whatsappMessage\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"MESSAGE_ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wamid\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.EXAMPLE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wabaId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"WABA_ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+12025550124\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+12025550123\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Your order is ready for pickup.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"sent\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-08T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sendTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-08T12:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Ход синхронизации истории`,id:`khod-sinkhronizatsii-istorii`,children:[_jsx(_components.p,{children:`Фрагмент истории, содержащий только метаданные, сообщает о phase и progress без какого-либо объекта сообщения. Не обрабатывайте эту структуру данных как полезную нагрузку создания или дублирования (эха) сообщения.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_example_smb_history_progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-09T08:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`73`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})]}),_jsx(Accordion,{title:`Входящее текстовое сообщение`,id:`vkhodyaschee-tekstovoe-soobschenie`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_eEkn26qar3nOB8md\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2023-02-22T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`40`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"whatsappInboundMessage\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"63f872f6741c165b4342a751\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wamid\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.HBgNODi...\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wabaId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"WABA-ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"CUSTOMER-PHONE-NUMBER\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"fromUserId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"US.13491208655302741918\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"fromParentUserId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"US.11815799212886844830\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"customerProfile\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Joe\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"username\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"@JoeWick\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"BUSINESS-PHONE-NUMBER\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sendTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2023-02-22T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"OK\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"context\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+12025550124\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.HBgNODr...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`Исходящее текстовое сообщение`,id:`iskhodyaschee-tekstovoe-soobschenie`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_eEVCy8eNqD9EvcFI\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2023-02-22T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`40`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"whatsappMessage\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"63f5d602367ea403f8175a6c\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wamid\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.BgNODYxN...\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"sent\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"BUSINESS-PHONE-NUMBER\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"CUSTOMER-PHONE-NUMBER\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"toUserId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"US.13491208655302741918\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"toParentUserId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"US.11815799212886844830\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wabaId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"WABA-ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2022-03-01T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sendTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2022-03-01T12:00:01.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"bizType\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Hi there! How can we help?\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"context\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"message_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.BgNODYxN...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`Фрагмент истории только с ходом выполнения`,id:`fragment-istorii-tolkos-khodom-vypolneniya`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_progressOnly73\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2023-02-22T12:00:02.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`73`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsxs(_components.p,{children:[`После проверки подписи и надежного приема события верните ответ `,_jsx(_components.code,{children:`2xx`}),`. Медленные задачи выполняйте асинхронно.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`/`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1.1`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` 200`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` OK`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Пошаговые разборы сценариев см. в разделе `,_jsx(_components.a,{href:`/ru/api-reference/guides/examples/webhook-examples/whatsapp-business-app-history-message-webhook-examples`,children:`примеров с пояснениями`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"whatsapp.smb.history","sidebarTitle":"smb.history","description":"Происходит при синхронизации истории сообщений WhatsApp Business App.","href":"/ru/api-reference/webhook-reference/whatsapp-smb-history"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Триггеры","slug":"триггеры","depth":2,"children":[]},{"title":"Синтаксис","slug":"синтаксис","depth":2,"children":[]},{"title":"Параметры","slug":"параметры","depth":2,"children":[{"title":"Конверт события (envelope)","slug":"конверт-события-envelope","depth":3,"children":[]},{"title":"Полезная нагрузка события","slug":"полезная-нагрузка-события","depth":3,"children":[]},{"title":"whatsappInboundMessage","slug":"whatsappinboundmessage","depth":4,"children":[]},{"title":"whatsappMessage","slug":"whatsappmessage","depth":4,"children":[]}]},{"title":"Пример","slug":"пример","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"lchnan","siteName":"YCloud Docs","title":"whatsapp.smb.history - YCloud Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/webhook-reference/whatsapp-smb-history","matchLevel":1},"zh":{"href":"/zh/api-reference/webhook-reference/whatsapp-smb-history","matchLevel":1},"es":{"href":"/es/api-reference/webhook-reference/whatsapp-smb-history","matchLevel":1},"pt":{"href":"/pt/api-reference/webhook-reference/whatsapp-smb-history","matchLevel":1},"ru":{"href":"/ru/api-reference/webhook-reference/whatsapp-smb-history","matchLevel":0}}},"lastModified":"2026-11-05T18:35:02.272Z","originalFileLocation":"ru/api-reference/webhook-reference/whatsapp-smb-history.mdx","locale":"ru"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Происходит при синхронизации истории сообщений WhatsApp Business App.\">\u003cmeta data-mint-head name=\"application-name\" content=\"YCloud Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"whatsapp.smb.history - YCloud Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Происходит при синхронизации истории сообщений WhatsApp Business App.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"YCloud Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lchnan.mintlify.app/_mintlify/api/og/v2?division=WhatsApp+Business+App\u0026amp;title=whatsapp.smb.history\u0026amp;description=%D0%9F%D1%80%D0%BE%D0%B8%D1%81%D1%85%D0%BE%D0%B4%D0%B8%D1%82+%D0%BF%D1%80%D0%B8+%D1%81%D0%B8%D0%BD%D1%85%D1%80%D0%BE%D0%BD%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D0%B8+%D0%B8%D1%81%D1%82%D0%BE%D1%80%D0%B8%D0%B8+%D1%81%D0%BE%D0%BE%D0%B1%D1%89%D0%B5%D0%BD%D0%B8%D0%B9+WhatsApp+Business+App.\u0026amp;theme=7e639de6347778391fbe3ad7\u0026amp;signature=91a1be78ae3132cfe4ceb252f15f60174c18615ae7474636c4b8acdb9cc4b2c2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"whatsapp.smb.history - YCloud Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Происходит при синхронизации истории сообщений WhatsApp Business App.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lchnan.mintlify.app/_mintlify/api/og/v2?division=WhatsApp+Business+App\u0026amp;title=whatsapp.smb.history\u0026amp;description=%D0%9F%D1%80%D0%BE%D0%B8%D1%81%D1%85%D0%BE%D0%B4%D0%B8%D1%82+%D0%BF%D1%80%D0%B8+%D1%81%D0%B8%D0%BD%D1%85%D1%80%D0%BE%D0%BD%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D0%B8+%D0%B8%D1%81%D1%82%D0%BE%D1%80%D0%B8%D0%B8+%D1%81%D0%BE%D0%BE%D0%B1%D1%89%D0%B5%D0%BD%D0%B8%D0%B9+WhatsApp+Business+App.\u0026amp;theme=7e639de6347778391fbe3ad7\u0026amp;signature=91a1be78ae3132cfe4ceb252f15f60174c18615ae7474636c4b8acdb9cc4b2c2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"YCloud Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#602DED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ru/api-reference/webhook-reference/whatsapp-smb-history.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.ycloud.com/zh/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.ycloud.com/es/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.ycloud.com/pt/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ycloud.com/#organization\",\"name\":\"YCloud Docs\",\"url\":\"https://docs.ycloud.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lchnan/AXn0jsI-c5aPnOMW/logo/light.png?fit=max\u0026auto=format\u0026n=AXn0jsI-c5aPnOMW\u0026q=85\u0026s=0865e4207d765d07a769c29bc819adbe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ycloud.com#website\",\"name\":\"YCloud Docs\",\"url\":\"https://docs.ycloud.com\",\"publisher\":{\"@id\":\"https://docs.ycloud.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history#webpage\",\"url\":\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history\",\"name\":\"whatsapp.smb.history\",\"description\":\"Происходит при синхронизации истории сообщений WhatsApp Business App.\",\"dateModified\":\"2026-11-05T18:35:02.272Z\",\"isPartOf\":{\"@id\":\"https://docs.ycloud.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhook reference\",\"item\":\"https://docs.ycloud.com/ru/api-reference/webhook-reference/messenger-inbound-message-received\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"whatsapp.smb.history\",\"item\":\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history#article\",\"headline\":\"whatsapp.smb.history\",\"name\":\"whatsapp.smb.history\",\"description\":\"Происходит при синхронизации истории сообщений WhatsApp Business App.\",\"url\":\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history#webpage\"},\"dateModified\":\"2026-11-05T18:35:02.272Z\",\"publisher\":{\"@id\":\"https://docs.ycloud.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ycloud.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"YCloud Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"YCloud Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/en/api-reference/webhook-reference/whatsapp-smb-history"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/webhook-reference/whatsapp-smb-history"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/webhook-reference/whatsapp-smb-history"}]},{"language":"pt","pages":[{"title":"pt","href":"/pt/api-reference/webhook-reference/whatsapp-smb-history"}]},{"language":"ru","tabs":[{"tab":"Документация","icon":"book-open","pages":[{"title":"Документация","href":"/ru/documentation/overview"}]},{"tab":"Справочник API","icon":"code","groups":[{"group":"Начало работы","pages":[{"title":"YCloud API","href":"/ru/api-reference/getting-started/ycloud-api"},{"title":"Быстрый старт","href":"/ru/api-reference/getting-started/quickstart"},{"title":"Журнал изменений API","href":"/ru/api-reference/getting-started/changelog"}]},{"group":"Руководства","pages":[{"title":"Руководства","href":"/ru/api-reference/guides/overview"},{"group":"Основы API","pages":[{"title":"Аутентификация","href":"/ru/api-reference/guides/api-fundamentals/authentication"},{"title":"Обработка ошибок","href":"/ru/api-reference/guides/api-fundamentals/handle-errors"},{"title":"Ограничения частоты запросов","href":"/ru/api-reference/guides/api-fundamentals/rate-limits"},{"title":"Пагинация","href":"/ru/api-reference/guides/api-fundamentals/pagination"},{"title":"Версионирование и совместимость API","href":"/ru/api-reference/guides/api-fundamentals/versioning"},{"title":"Настройка вебхуков","href":"/ru/api-reference/guides/api-fundamentals/configure-webhooks"},{"title":"Реализация получателя Webhook","href":"/ru/api-reference/guides/api-fundamentals/implement-a-webhook-receiver"}]},{"group":"Платформа WhatsApp","pages":[{"group":"Отправка и получение","pages":[{"title":"Отправка сообщения WhatsApp","href":"/ru/api-reference/guides/whatsapp-platform/send-whatsapp-message"},{"title":"Коды ошибок WhatsApp","href":"/ru/api-reference/guides/whatsapp-platform/whatsapp-error-code"},{"title":"Обработка входящих сообщений WhatsApp","href":"/ru/api-reference/guides/whatsapp-platform/handle-whatsapp-inbound-messages"},{"title":"Загрузка медиафайлов WhatsApp","href":"/ru/api-reference/guides/whatsapp-platform/upload-whatsapp-media"},{"title":"Руководство по интеграции тарификации сообщений WhatsApp","href":"/ru/api-reference/guides/whatsapp-platform/whatsapp-message-pricing-integration-guide"},{"title":"Руководство по интеграции Max Price","href":"/ru/api-reference/guides/whatsapp-platform/max-price-integration-guide"}]},{"group":"Рекомендации","pages":[{"title":"Рекомендации по API сообщений WhatsApp","href":"/ru/api-reference/guides/whatsapp-platform/whatsapp-messages-api-best-practices"},{"title":"Практические рекомендации по Direct Send","href":"/ru/api-reference/guides/whatsapp-platform/best-practices/direct-send"}]},{"group":"Бизнес-аккаунты","pages":[{"title":"Управление аккаунтами WhatsApp Business","href":"/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-business-accounts"},{"title":"Управление номерами телефонов WhatsApp","href":"/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-phone-numbers"},{"title":"Использование business-scoped user ID","href":"/ru/api-reference/guides/whatsapp-platform/use-business-scoped-user-ids"}]},{"group":"Шаблоны и сценарии","pages":[{"title":"Управление шаблонами WhatsApp","href":"/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-templates"},{"title":"Поддерживаемые языки шаблонов WhatsApp","href":"/ru/api-reference/guides/whatsapp-platform/supported-whatsapp-template-languages"},{"title":"Управление WhatsApp Flows","href":"/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-flows"},{"title":"Реализация эндпоинта WhatsApp Flow","href":"/ru/api-reference/guides/whatsapp-platform/implement-a-whatsapp-flow-endpoint"}]},{"group":"Звонки и группы","pages":[{"title":"Управление звонками WhatsApp","href":"/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-calls"},{"title":"Управление группами WhatsApp","href":"/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-groups"}]}]},{"group":"Meta Business Agent","pages":[{"title":"Обзор Meta Business Agent","href":"/ru/documentation/meta-business-agent/overview"},{"title":"Подготовка и проверка соответствия требованиям","href":"/ru/documentation/meta-business-agent/prepare-and-check-eligibility"},{"title":"Подключение и настройка","href":"/ru/documentation/meta-business-agent/onboard-and-configure"},{"title":"Тестирование и оценка","href":"/ru/documentation/meta-business-agent/test-and-evaluate"},{"title":"Безопасное развертывание","href":"/ru/documentation/meta-business-agent/roll-out-safely"},{"title":"Эксплуатация и устранение неполадок","href":"/ru/documentation/meta-business-agent/operate-and-troubleshoot"}]},{"group":"Данные клиентов и операции","pages":[{"title":"Проверка баланса аккаунта","href":"/ru/api-reference/guides/customer-data-and-operations/check-account-balance"},{"title":"Управление контактами","href":"/ru/api-reference/guides/customer-data-and-operations/manage-contacts"},{"title":"Отслеживание пользовательских событий","href":"/ru/api-reference/guides/customer-data-and-operations/track-custom-events"},{"title":"Управление отписавшимися пользователями","href":"/ru/api-reference/guides/customer-data-and-operations/manage-unsubscribers"}]},{"group":"Примеры","pages":[{"title":"Обзор примеров","href":"/ru/api-reference/guides/examples/overview"},{"group":"Примеры API","pages":[{"title":"Примеры создания шаблонов WhatsApp","href":"/ru/api-reference/guides/examples/api-examples/whatsapp-template-creation-examples"},{"title":"Примеры сообщений WhatsApp","href":"/ru/api-reference/guides/examples/api-examples/whatsapp-messaging-examples"}]},{"title":"Примеры Webhook","href":"/ru/api-reference/webhook-reference/overview"}]}]},{"group":"Конечные точки","pages":[{"group":"Аккаунты WhatsApp Business","pages":[{"title":"List WABAs","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/businessAccounts","href":"/api-reference/whatsapp-business-accounts/list-wabas"},{"title":"Retrieve a WABA","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/businessAccounts/{id}","href":"/api-reference/whatsapp-business-accounts/retrieve-a-waba"},{"title":"Retrieve WABA automatic creative optimizations","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/businessAccounts/{wabaId}/automatic-creative-optimizations","href":"/api-reference/whatsapp-business-accounts/retrieve-waba-automatic-creative-optimizations"},{"title":"Update WABA automatic creative optimizations","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/businessAccounts/{wabaId}/automatic-creative-optimizations","href":"/api-reference/whatsapp-business-accounts/update-waba-automatic-creative-optimizations"}]},{"group":"Входящие сообщения WhatsApp","pages":[{"title":"Mark message as read","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/inboundMessages/{id}/markAsRead","href":"/api-reference/whatsapp-inbound-messages/mark-message-as-read"},{"title":"Mark message as read and display a typing indicator with a JSON response","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/inboundMessages/{id}/typing","href":"/api-reference/whatsapp-inbound-messages/mark-message-as-read-and-display-a-typing-indicator-with-a-json-response"}]},{"group":"Медиа WhatsApp","pages":[{"title":"Upload media","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/media/{phoneNumber}/upload","href":"/api-reference/whatsapp-media/upload-media"}]},{"group":"Сообщения WhatsApp","pages":[{"title":"Send a message directly","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/messages/sendDirectly","href":"/api-reference/whatsapp-messages/send-a-message-directly"},{"title":"Enqueue a message","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/messages","href":"/api-reference/whatsapp-messages/enqueue-a-message"},{"title":"Retrieve a message","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/messages/{id}","href":"/api-reference/whatsapp-messages/retrieve-a-message"},{"title":"Submit a Direct Send message sample","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/messages/{wabaId}/messageSamples","href":"/api-reference/whatsapp-messages/submit-a-direct-send-message-sample"}]},{"group":"Сообщения Messenger","pages":[{"title":"Send a Messenger text reply directly","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /messenger/messages/sendDirectly","href":"/api-reference/messenger-messages/send-a-messenger-text-reply-directly"},{"title":"Retrieve an outbound message by its YCloud ID","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /messenger/messages/{id}","href":"/api-reference/messenger-messages/retrieve-an-outbound-message-by-its-ycloud-id"},{"title":"Retrieve an outbound message by its Meta message ID","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /messenger/messages/retrieveByMetaMessageId","href":"/api-reference/messenger-messages/retrieve-an-outbound-message-by-its-meta-message-id"}]},{"group":"Заблокированные пользователи WhatsApp","pages":[{"title":"Block users","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/blockUsers","href":"/api-reference/whatsapp-blocked-users/block-users"},{"title":"Unblock users","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/unblockUsers","href":"/api-reference/whatsapp-blocked-users/unblock-users"},{"title":"List blocked users","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/{businessPhoneNumber}/blockedUsers","href":"/api-reference/whatsapp-blocked-users/list-blocked-users"}]},{"group":"Группы WhatsApp","pages":[{"title":"Create a group","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/groups","href":"/api-reference/whatsapp-groups/create-a-group"},{"title":"List groups","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/{businessPhoneNumber}/groups","href":"/api-reference/whatsapp-groups/list-groups"},{"title":"Retrieve a group","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/{businessPhoneNumber}/groups/{groupId}","href":"/api-reference/whatsapp-groups/retrieve-a-group"},{"title":"Delete a group","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/{businessPhoneNumber}/groups/{groupId}","href":"/api-reference/whatsapp-groups/delete-a-group"},{"title":"Retrieve a group invite link","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/{businessPhoneNumber}/groups/{groupId}/inviteLink","href":"/api-reference/whatsapp-groups/retrieve-a-group-invite-link"},{"title":"Reset a group invite link","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/groups/{groupId}/inviteLink/reset","href":"/api-reference/whatsapp-groups/reset-a-group-invite-link"},{"title":"Send a group invite link message","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/groups/inviteLink/messages","href":"/api-reference/whatsapp-groups/send-a-group-invite-link-message"},{"title":"List group join requests","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/{businessPhoneNumber}/groups/{groupId}/joinRequests","href":"/api-reference/whatsapp-groups/list-group-join-requests"},{"title":"Approve group join requests","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/groups/{groupId}/joinRequests/approve","href":"/api-reference/whatsapp-groups/approve-group-join-requests"},{"title":"Reject group join requests","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/groups/{groupId}/joinRequests/reject","href":"/api-reference/whatsapp-groups/reject-group-join-requests"},{"title":"Remove group participants","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/groups/{groupId}/participants/remove","href":"/api-reference/whatsapp-groups/remove-group-participants"},{"title":"Update group settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/{businessPhoneNumber}/groups/{groupId}/settings","href":"/api-reference/whatsapp-groups/update-group-settings"}]},{"group":"Звонки WhatsApp","pages":[{"title":"Connect a call","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/calls/connect","href":"/api-reference/whatsapp-calling/connect-a-call"},{"title":"Pre-accept a call","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/calls/preAccept","href":"/api-reference/whatsapp-calling/pre-accept-a-call"},{"title":"Accept a call","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/calls/accept","href":"/api-reference/whatsapp-calling/accept-a-call"},{"title":"Terminate a call","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/calls/terminate","href":"/api-reference/whatsapp-calling/terminate-a-call"},{"title":"Reject a call","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/calls/reject","href":"/api-reference/whatsapp-calling/reject-a-call"},{"title":"Download call media","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/calls/media/{mediaAssetId}","href":"/api-reference/whatsapp-calling/download-call-media"}]},{"group":"Номера телефонов WhatsApp","pages":[{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers","href":"/api-reference/whatsapp-phone-numbers/list-phone-numbers"},{"title":"Retrieve a phone number","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}","href":"/api-reference/whatsapp-phone-numbers/retrieve-a-phone-number"},{"title":"Retrieve a phone number profile","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/profile","href":"/api-reference/whatsapp-phone-numbers/retrieve-a-phone-number-profile"},{"title":"Update a phone number profile","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/profile","href":"/api-reference/whatsapp-phone-numbers/update-a-phone-number-profile"},{"title":"Update a phone number display name","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/displayName","href":"/api-reference/whatsapp-phone-numbers/update-a-phone-number-display-name"},{"title":"Retrieve commerce settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/whatsappCommerceSettings","href":"/api-reference/whatsapp-phone-numbers/retrieve-commerce-settings"},{"title":"Update commerce settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/whatsappCommerceSettings","href":"/api-reference/whatsapp-phone-numbers/update-commerce-settings"},{"title":"Register a phone number","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/register","href":"/api-reference/whatsapp-phone-numbers/register-a-phone-number"},{"title":"Retrieve phone number settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/settings","href":"/api-reference/whatsapp-phone-numbers/retrieve-phone-number-settings"},{"title":"Save phone number settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/settings","href":"/api-reference/whatsapp-phone-numbers/save-phone-number-settings"},{"title":"Retrieve a phone number business username","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/businessUsername","href":"/api-reference/whatsapp-phone-numbers/retrieve-a-phone-number-business-username"},{"title":"Retrieve phone number business username suggestions","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/businessUsername/suggestions","href":"/api-reference/whatsapp-phone-numbers/retrieve-phone-number-business-username-suggestions"},{"title":"Update a phone number business username","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/businessUsername","href":"/api-reference/whatsapp-phone-numbers/update-a-phone-number-business-username"},{"title":"Delete a phone number business username","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/businessUsername","href":"/api-reference/whatsapp-phone-numbers/delete-a-phone-number-business-username"},{"title":"Check a Meta contact book entry","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/contactBook/{bsuid}","href":"/api-reference/whatsapp-phone-numbers/check-a-meta-contact-book-entry"},{"title":"Delete a Meta contact book entry","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/contactBook/{bsuid}","href":"/api-reference/whatsapp-phone-numbers/delete-a-meta-contact-book-entry"}]},{"group":"Шаблоны WhatsApp","pages":[{"title":"Create a template","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/templates","href":"/api-reference/whatsapp-templates/create-a-template"},{"title":"List templates","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/templates","href":"/api-reference/whatsapp-templates/list-templates"},{"title":"Retrieve WhatsApp template analytics","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/templates/analytics","href":"/api-reference/whatsapp-templates/retrieve-whatsapp-template-analytics"},{"title":"Delete templates by name","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/templates/{wabaId}/{name}","href":"/api-reference/whatsapp-templates/delete-templates-by-name"},{"title":"Delete a template","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/templates/{wabaId}/{name}/{language}","href":"/api-reference/whatsapp-templates/delete-a-template"},{"title":"Edit a template","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/templates/{wabaId}/{name}/{language}","href":"/api-reference/whatsapp-templates/edit-a-template"},{"title":"Retrieve a template","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/templates/{wabaId}/{name}/{language}","href":"/api-reference/whatsapp-templates/retrieve-a-template"}]},{"group":"WhatsApp Flows","pages":[{"title":"Create a flow","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/flows","href":"/api-reference/whatsapp-flows/create-a-flow"},{"title":"List flows","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/flows","href":"/api-reference/whatsapp-flows/list-flows"},{"title":"Update flow metadata","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/flows/{flowId}/metadata","href":"/api-reference/whatsapp-flows/update-flow-metadata"},{"title":"Update flow structure","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/flows/{flowId}/assets","href":"/api-reference/whatsapp-flows/update-flow-structure"},{"title":"Delete a flow","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/flows/{flowId}","href":"/api-reference/whatsapp-flows/delete-a-flow"},{"title":"Retrieve a flow","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/flows/{flowId}","href":"/api-reference/whatsapp-flows/retrieve-a-flow"},{"title":"Publish a flow","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/flows/{flowId}/publish","href":"/api-reference/whatsapp-flows/publish-a-flow"},{"title":"Deprecate a flow","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/flows/{flowId}/deprecate","href":"/api-reference/whatsapp-flows/deprecate-a-flow"},{"title":"generate a web preview URL with this flow.","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/flows/{flowId}/preview","href":"/api-reference/whatsapp-flows/generate-a-web-preview-url-with-this-flow"}]},{"group":"Баланс","pages":[{"title":"Retrieve balance","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /balance","href":"/api-reference/balance/retrieve-balance"}]},{"group":"Контакты","pages":[{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /contact/contacts","href":"/api-reference/contacts/create-a-contact"},{"title":"List contacts","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /contact/contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Retrieve a contact","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /contact/contacts/{id}","href":"/api-reference/contacts/retrieve-a-contact"},{"title":"List contact notes","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /contact/contacts/{contactIdentifier}/notes","href":"/api-reference/contacts/list-contact-notes"},{"title":"Create a contact note","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /contact/contacts/{contactIdentifier}/notes","href":"/api-reference/contacts/create-a-contact-note"},{"title":"Update a contact note","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /contact/notes/{noteId}","href":"/api-reference/contacts/update-a-contact-note"},{"title":"Delete a contact note","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /contact/notes/{noteId}","href":"/api-reference/contacts/delete-a-contact-note"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /contact/contacts/{id}","href":"/api-reference/contacts/update-a-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /contact/contacts/{id}","href":"/api-reference/contacts/delete-a-contact"},{"title":"List contact attributes","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /contact/contacts/attributes","href":"/api-reference/contacts/list-contact-attributes"}]},{"group":"Пользовательские события","pages":[{"title":"Create an event definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /event/definitions","href":"/api-reference/custom-events/create-an-event-definition"},{"title":"Retrieve an event definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /event/definitions/{name}","href":"/api-reference/custom-events/retrieve-an-event-definition"},{"title":"Update an event definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /event/definitions/{name}","href":"/api-reference/custom-events/update-an-event-definition"},{"title":"Create an event property definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /event/definitions/{name}/properties","href":"/api-reference/custom-events/create-an-event-property-definition"},{"title":"Update an event property definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /event/definitions/{name}/properties/{propertyName}","href":"/api-reference/custom-events/update-an-event-property-definition"},{"title":"Delete an event property definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /event/definitions/{name}/properties/{propertyName}","href":"/api-reference/custom-events/delete-an-event-property-definition"},{"title":"Send an event","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /event/events","href":"/api-reference/custom-events/send-an-event"}]},{"group":"Email-сообщения","pages":[{"title":"Send an email","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /emails","href":"/api-reference/emails/send-an-email"}]},{"group":"SMS","pages":[{"title":"Send an SMS","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /sms","href":"/api-reference/sms/send-an-sms"},{"title":"List SMS records","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /sms","href":"/api-reference/sms/list-sms-records"}]},{"group":"Отписавшиеся","pages":[{"title":"Create an unsubscriber","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /unsubscribers","href":"/api-reference/unsubscribers/create-an-unsubscriber"},{"title":"List unsubscribers","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /unsubscribers","href":"/api-reference/unsubscribers/list-unsubscribers"},{"title":"List all unsubscribers by customer","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /unsubscribers/{customer}","href":"/api-reference/unsubscribers/list-all-unsubscribers-by-customer"},{"title":"Retrieve an unsubscriber","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /unsubscribers/{customer}/{channel}","href":"/api-reference/unsubscribers/retrieve-an-unsubscriber"},{"title":"Delete an unsubscriber","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /unsubscribers/{customer}/{channel}","href":"/api-reference/unsubscribers/delete-an-unsubscriber"}]},{"group":"Верификация","pages":[{"title":"Start a verification","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /verify/verifications","href":"/api-reference/verify/start-a-verification"},{"title":"Check a verification","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /verify/verificationChecks","href":"/api-reference/verify/check-a-verification"}]},{"group":"Голоса","pages":[{"title":"Send a voice code","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /voices","href":"/api-reference/voices/send-a-voice-code"},{"title":"List voice records","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /voices","href":"/api-reference/voices/list-voice-records"}]},{"group":"Конечные точки Webhook","pages":[{"title":"Create a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /webhookEndpoints","href":"/api-reference/webhook-endpoints/create-a-webhook-endpoint"},{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /webhookEndpoints","href":"/api-reference/webhook-endpoints/list-webhook-endpoints"},{"title":"Retrieve a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /webhookEndpoints/{id}","href":"/api-reference/webhook-endpoints/retrieve-a-webhook-endpoint"},{"title":"Update a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /webhookEndpoints/{id}","href":"/api-reference/webhook-endpoints/update-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /webhookEndpoints/{id}","href":"/api-reference/webhook-endpoints/delete-a-webhook-endpoint"},{"title":"Rotate a webhook endpoint secret","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /webhookEndpoints/{id}/rotateSecret","href":"/api-reference/webhook-endpoints/rotate-a-webhook-endpoint-secret"}]},{"group":"Meta Business Agent","pages":[{"title":"Обзор Meta Business Agent","href":"/ru/api-reference/meta-business-agents/overview"},{"group":"Настройка","pages":[{"group":"База знаний агента — Информация о бизнесе","pages":[{"title":"Get Business Info","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/businessInfo","href":"/api-reference/meta-business-agents/get-business-info"},{"title":"Replace Business Info","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/businessInfo","href":"/api-reference/meta-business-agents/replace-business-info"},{"title":"Delete Business Info","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/businessInfo","href":"/api-reference/meta-business-agents/delete-business-info"}]},{"group":"База знаний агента — Часто задаваемые вопросы","pages":[{"title":"List Faqs","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/faqs","href":"/api-reference/meta-business-agents/list-faqs"},{"title":"Create Faq","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/faqs","href":"/api-reference/meta-business-agents/create-faq"},{"title":"Get Faq","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/faqs/{faqId}","href":"/api-reference/meta-business-agents/get-faq"},{"title":"Update Faq","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/faqs/{faqId}","href":"/api-reference/meta-business-agents/update-faq"},{"title":"Delete Faq","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/faqs/{faqId}","href":"/api-reference/meta-business-agents/delete-faq"}]},{"group":"База знаний агента — Файлы","pages":[{"title":"List Files","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/files","href":"/api-reference/meta-business-agents/list-files"},{"title":"Upload File","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/files","href":"/api-reference/meta-business-agents/upload-file"},{"title":"Get File","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/files/{fileId}","href":"/api-reference/meta-business-agents/get-file"},{"title":"Delete File","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/files/{fileId}","href":"/api-reference/meta-business-agents/delete-file"}]},{"group":"База знаний агента — Веб-сайты","pages":[{"title":"List Websites","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/websites","href":"/api-reference/meta-business-agents/list-websites"},{"title":"Create Website","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/websites","href":"/api-reference/meta-business-agents/create-website"},{"title":"Get Website","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/websites/{websiteId}","href":"/api-reference/meta-business-agents/get-website"},{"title":"Update Website","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/websites/{websiteId}","href":"/api-reference/meta-business-agents/update-website"},{"title":"Delete Website","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/websites/{websiteId}","href":"/api-reference/meta-business-agents/delete-website"}]},{"group":"Навыки агента","pages":[{"title":"List Skills","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/skills","href":"/api-reference/meta-business-agents/list-skills"},{"title":"Create Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/skills","href":"/api-reference/meta-business-agents/create-skill"},{"title":"Get Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/skills/{skillId}","href":"/api-reference/meta-business-agents/get-skill"},{"title":"Update Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/skills/{skillId}","href":"/api-reference/meta-business-agents/update-skill"},{"title":"Delete Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/skills/{skillId}","href":"/api-reference/meta-business-agents/delete-skill"}]},{"group":"Навыки UI","pages":[{"title":"List UI Skills","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/uiSkills","href":"/api-reference/meta-business-agents/list-ui-skills"},{"title":"Create UI Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/uiSkills","href":"/api-reference/meta-business-agents/create-ui-skill"},{"title":"Get UI Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/uiSkills/{skillId}","href":"/api-reference/meta-business-agents/get-ui-skill"},{"title":"Update UI Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/uiSkills/{skillId}","href":"/api-reference/meta-business-agents/update-ui-skill"},{"title":"Delete UI Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/uiSkills/{skillId}","href":"/api-reference/meta-business-agents/delete-ui-skill"}]},{"group":"Инструменты коннекторов","pages":[{"title":"List Connector Tools","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools","href":"/api-reference/meta-business-agents/list-connector-tools"},{"title":"Create Connector Tool","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools","href":"/api-reference/meta-business-agents/create-connector-tool"},{"title":"Get Connector Tool","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools/{toolId}","href":"/api-reference/meta-business-agents/get-connector-tool"},{"title":"Update Connector Tool","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools/{toolId}","href":"/api-reference/meta-business-agents/update-connector-tool"},{"title":"Delete Connector Tool","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools/{toolId}","href":"/api-reference/meta-business-agents/delete-connector-tool"},{"title":"Run Connector Tool","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools/{toolId}/runs","href":"/api-reference/meta-business-agents/run-connector-tool"}]},{"group":"Коннекторы","pages":[{"title":"List Connectors","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/connectors","href":"/api-reference/meta-business-agents/list-connectors"},{"title":"Create Connector","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/connectors","href":"/api-reference/meta-business-agents/create-connector"},{"title":"Get Connector","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/connectors/{connectorId}","href":"/api-reference/meta-business-agents/get-connector"},{"title":"Update Connector","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/connectors/{connectorId}","href":"/api-reference/meta-business-agents/update-connector"},{"title":"Refresh MCP Connector Tools","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/connectors/{connectorId}/refreshMCPTools","href":"/api-reference/meta-business-agents/refresh-mcp-connector-tools"},{"title":"Delete Connector","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/connectors/{connectorId}","href":"/api-reference/meta-business-agents/delete-connector"},{"title":"Upsert Connector Certificate","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/connectors/{connectorId}/credentials/certificate","href":"/api-reference/meta-business-agents/upsert-connector-certificate"},{"title":"Upsert Connector Api Key","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/connectors/{connectorId}/credentials/apiKey","href":"/api-reference/meta-business-agents/upsert-connector-api-key"},{"title":"Upsert Connector O Auth","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/connectors/{connectorId}/credentials/oauth","href":"/api-reference/meta-business-agents/upsert-connector-o-auth"},{"title":"List Connector Logs","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/connectors/{connectorId}/logs","href":"/api-reference/meta-business-agents/list-connector-logs"}]}]},{"group":"Удалить агента","pages":[{"title":"Delete Agent","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}","href":"/api-reference/meta-business-agents/delete-agent"}]},{"group":"Подключение","pages":[{"group":"Белый список агента","pages":[{"title":"List Allowlist","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/allowListEntries","href":"/api-reference/meta-business-agents/list-allowlist"},{"title":"Create Allowlist Entry","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/allowListEntries","href":"/api-reference/meta-business-agents/create-allowlist-entry"},{"title":"Delete Allowlist Entry","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/allowListEntries/{entryId}","href":"/api-reference/meta-business-agents/delete-allowlist-entry"}]},{"group":"Критерии доступа агента","pages":[{"title":"Check Eligibility","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/eligibility","href":"/api-reference/meta-business-agents/check-eligibility"}]},{"group":"Онбординг агента","pages":[{"title":"Onboard Agent","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/onboarding","href":"/api-reference/meta-business-agents/onboard-agent"}]},{"group":"Настройки агента","pages":[{"title":"Get Settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/settings","href":"/api-reference/meta-business-agents/get-settings"},{"title":"Replace Settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/settings","href":"/api-reference/meta-business-agents/replace-settings"}]},{"group":"Бюджеты агента","pages":[{"title":"Get Budgets","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/budgets","href":"/api-reference/meta-business-agents/get-budgets"},{"title":"Replace Budgets","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/budgets","href":"/api-reference/meta-business-agents/replace-budgets"}]}]},{"group":"Управление","pages":[{"group":"Оценка агента","pages":[{"title":"List Eval Cases","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/evalCases","href":"/api-reference/meta-business-agents/list-eval-cases"},{"title":"Get Eval Summary","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/evalSummaries","href":"/api-reference/meta-business-agents/get-eval-summary"},{"title":"Get Eval Details","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/evals","href":"/api-reference/meta-business-agents/get-eval-details"},{"title":"Get Eval Run Status","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/evalRuns/{jobId}","href":"/api-reference/meta-business-agents/get-eval-run-status"},{"title":"Submit Eval Run","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/evalRuns","href":"/api-reference/meta-business-agents/submit-eval-run"}]},{"group":"Событие агента","pages":[{"title":"Submit Agent Event","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/events","href":"/api-reference/meta-business-agents/submit-agent-event"},{"title":"Get Agent Event Status","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/events/{agentEventId}","href":"/api-reference/meta-business-agents/get-agent-event-status"}]},{"group":"Тестирование агента","pages":[{"title":"Test Agent","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/tests","href":"/api-reference/meta-business-agents/test-agent"}]},{"group":"Реплики диалога","pages":[{"title":"Get Conversation Turns","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/conversationTurns","href":"/api-reference/meta-business-agents/get-conversation-turns"}]},{"group":"Управление цепочками диалогов (Cloud API)","pages":[{"title":"Control Thread","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/threadControl","href":"/api-reference/meta-business-agents/control-thread"}]}]}]}]},{"group":"Webhook reference","pages":[{"group":"Messenger","pages":[{"title":"messenger.inbound_message.received","sidebarTitle":"messenger.inbound_message.received","href":"/ru/api-reference/webhook-reference/messenger-inbound-message-received"},{"title":"messenger.inbound_message.updated","sidebarTitle":"messenger.inbound_message.updated","href":"/ru/api-reference/webhook-reference/messenger-inbound-message-updated"},{"title":"messenger.message.updated","sidebarTitle":"messenger.message.updated","href":"/ru/api-reference/webhook-reference/messenger-message-updated"},{"title":"messenger.message_reaction.updated","sidebarTitle":"messenger.message_reaction.updated","href":"/ru/api-reference/webhook-reference/messenger-message-reaction-updated"}]},{"group":"WhatsApp messages","pages":[{"title":"whatsapp.inbound_message.received","sidebarTitle":"inbound_message.received","href":"/ru/api-reference/webhook-reference/whatsapp-inbound-message-received"},{"title":"whatsapp.message.updated","sidebarTitle":"message.updated","href":"/ru/api-reference/webhook-reference/whatsapp-message-updated"},{"title":"whatsapp.user.preferences","sidebarTitle":"user.preferences","href":"/ru/api-reference/webhook-reference/whatsapp-user-preferences"}]},{"group":"WhatsApp templates","pages":[{"title":"whatsapp.template.category_updated","sidebarTitle":"category_updated","href":"/ru/api-reference/webhook-reference/whatsapp-template-category-updated"},{"title":"whatsapp.template.correct_category_detection","sidebarTitle":"correct_category_detection","href":"/ru/api-reference/webhook-reference/whatsapp-template-correct-category-detection"},{"title":"whatsapp.template.quality_updated","sidebarTitle":"quality_updated","href":"/ru/api-reference/webhook-reference/whatsapp-template-quality-updated"},{"title":"whatsapp.template.reviewed","sidebarTitle":"reviewed","href":"/ru/api-reference/webhook-reference/whatsapp-template-reviewed"}]},{"group":"WhatsApp accounts","pages":[{"title":"whatsapp.business_account.deleted","sidebarTitle":"удалено","href":"/ru/api-reference/webhook-reference/whatsapp-business-account-deleted"},{"title":"whatsapp.business_account.reviewed","sidebarTitle":"проверено","href":"/ru/api-reference/webhook-reference/whatsapp-business-account-reviewed"},{"title":"whatsapp.business_account.updated","sidebarTitle":"updated","href":"/ru/api-reference/webhook-reference/whatsapp-business-account-updated"}]},{"group":"WhatsApp phone numbers","pages":[{"title":"whatsapp.phone_number.deleted","sidebarTitle":"deleted","href":"/ru/api-reference/webhook-reference/whatsapp-phone-number-deleted"},{"title":"whatsapp.phone_number.name_updated","sidebarTitle":"name_updated","href":"/ru/api-reference/webhook-reference/whatsapp-phone-number-name-updated"},{"title":"whatsapp.phone_number.quality_updated","sidebarTitle":"quality_updated","href":"/ru/api-reference/webhook-reference/whatsapp-phone-number-quality-updated"},{"title":"whatsapp.phone_number.business_username_updated","sidebarTitle":"business_username_updated","description":"Происходит при обновлении Business Username у бизнес-номера телефона WhatsApp.","href":"/ru/api-reference/webhook-reference/whatsapp-phone-number-business-username-updated"}]},{"group":"WhatsApp Business App","pages":[{"title":"whatsapp.smb.history","sidebarTitle":"smb.history","href":"/ru/api-reference/webhook-reference/whatsapp-smb-history"},{"title":"whatsapp.smb.message.created","sidebarTitle":"smb.message.created","description":"Происходит при отправке сообщения из приложения WhatsApp Business.","href":"/ru/api-reference/webhook-reference/whatsapp-smb-message-created"},{"title":"whatsapp.smb.message.echoes","sidebarTitle":"smb.message.echoes","href":"/ru/api-reference/webhook-reference/whatsapp-smb-message-echoes"}]},{"group":"WhatsApp Agents","pages":[{"title":"whatsapp.echo_message.created","sidebarTitle":"echo_message.created","href":"/ru/api-reference/webhook-reference/whatsapp-echo-message-created"},{"title":"whatsapp.echo_message.updated","sidebarTitle":"echo_message.updated","href":"/ru/api-reference/webhook-reference/whatsapp-echo-message-updated"},{"title":"whatsapp.meta_business_agent.handover.updated","sidebarTitle":"meta_business_agent.handover.updated","href":"/ru/api-reference/webhook-reference/whatsapp-meta-business-agent-handover-updated"}]},{"group":"WhatsApp calls","pages":[{"title":"whatsapp.call.connect","sidebarTitle":"call.connect","href":"/ru/api-reference/webhook-reference/whatsapp-call-connect"},{"title":"whatsapp.call.terminate","sidebarTitle":"call.terminate","href":"/ru/api-reference/webhook-reference/whatsapp-call-terminate"},{"title":"whatsapp.call.status.updated","sidebarTitle":"call.status.updated","href":"/ru/api-reference/webhook-reference/whatsapp-call-status-updated"},{"title":"whatsapp.call.recording.updated","sidebarTitle":"call.recording.updated","href":"/ru/api-reference/webhook-reference/whatsapp-call-recording-updated"},{"title":"whatsapp.call.transcription.updated","sidebarTitle":"call.transcription.updated","href":"/ru/api-reference/webhook-reference/whatsapp-call-transcription-updated"}]},{"group":"WhatsApp groups","pages":[{"title":"whatsapp.group.lifecycle_update","sidebarTitle":"lifecycle_update","href":"/ru/api-reference/webhook-reference/whatsapp-group-lifecycle-update"},{"title":"whatsapp.group.participants_update","sidebarTitle":"participants_update","href":"/ru/api-reference/webhook-reference/whatsapp-group-participants-update"},{"title":"whatsapp.group.settings_update","sidebarTitle":"settings_update","href":"/ru/api-reference/webhook-reference/whatsapp-group-settings-update"},{"title":"whatsapp.group.status_update","sidebarTitle":"status_update","href":"/ru/api-reference/webhook-reference/whatsapp-group-status-update"}]},{"group":"WhatsApp Flows and payments","pages":[{"title":"whatsapp.flow.status_change","sidebarTitle":"flow.status_change","href":"/ru/api-reference/webhook-reference/whatsapp-flow-status-change"},{"title":"whatsapp.payment.updated","sidebarTitle":"payment.updated","href":"/ru/api-reference/webhook-reference/whatsapp-payment-updated"}]},{"group":"Contacts","pages":[{"title":"contact.attributes_changed","sidebarTitle":"attributes_changed","href":"/ru/api-reference/webhook-reference/contact-attributes-changed"},{"title":"contact.created","sidebarTitle":"created","href":"/ru/api-reference/webhook-reference/contact-created"},{"title":"contact.deleted","sidebarTitle":"deleted","href":"/ru/api-reference/webhook-reference/contact-deleted"},{"title":"contact.unsubscribe.created","sidebarTitle":"unsubscribe.created","href":"/ru/api-reference/webhook-reference/contact-unsubscribe-created"},{"title":"contact.unsubscribe.deleted","sidebarTitle":"unsubscribe.deleted","href":"/ru/api-reference/webhook-reference/contact-unsubscribe-deleted"},{"title":"contact.note.created","sidebarTitle":"note.created","href":"/ru/api-reference/webhook-reference/contact-note-created"},{"title":"contact.note.updated","sidebarTitle":"note.updated","href":"/ru/api-reference/webhook-reference/contact-note-updated"},{"title":"contact.note.deleted","sidebarTitle":"note.deleted","href":"/ru/api-reference/webhook-reference/contact-note-deleted"}]},{"group":"Email, SMS, and Voice","pages":[{"title":"email.delivery.updated","sidebarTitle":"email.delivery.updated","href":"/ru/api-reference/webhook-reference/email-delivery-updated"},{"title":"sms.message.updated","sidebarTitle":"sms.message.updated","href":"/ru/api-reference/webhook-reference/sms-message-updated"},{"title":"sms.inbound.received","sidebarTitle":"sms.inbound.received","href":"/ru/api-reference/webhook-reference/sms-inbound-received"},{"title":"voice.message.updated","sidebarTitle":"voice.message.updated","href":"/ru/api-reference/webhook-reference/voice-message-updated"}]}]}]},{"tab":"Партнерский центр","icon":"handshake","pages":[{"title":"Партнерский центр","href":"/ru/partner-center/overview"}]}]}]},"basePath":"","title":"whatsapp.smb.history - YCloud Docs","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":[],"chunks":[]}