К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/schema-3449ad8a69dada3fd3dc2a15775090f021fa24614871c6e5c404128bf138028f.mdиндекс документации — /llms.txt

Схема: SendNotificationRequest

Обновлено

ПолеЗначение
additionalPropertiesfalse
properties.buttons.description"Up to 3 rows of up to 3 buttons. url buttons work on every messenger and with every credential; callback buttons are an integration mechanism of an ExternalApp key subscribed to the button.clicked webhook when the app was provisioned, and work only for a Telegram user. The Open Lines copy carries only the url buttons."
properties.buttons.items.items.$refButton
properties.buttons.items.maxItems3
properties.buttons.items.type"array"
properties.buttons.maxItems3
properties.buttons.type"array"
properties.idempotency_key.description"Repeating a key within your app returns the same notification_id and does not queue a second push while the first one is still known to the queue."
properties.idempotency_key.maxLength255
properties.idempotency_key.type"string"
properties.media.$refMedia
properties.parse_mode.enum["HTML","Markdown",null]
properties.parse_mode.type["string","null"]
properties.text.description"Message text, delivered to the user's private chat on the messenger they use (Telegram, MAX or VK), with a copy in the user's Open Lines topic."
properties.text.maxLength4096
properties.text.minLength1
properties.text.type"string"
properties.user_id.description"The recipient: the per-tenant user id, as listed by the users API."
properties.user_id.maximum2147483647
properties.user_id.minimum1
properties.user_id.type"integer"
required["user_id","text"]
type"object"