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

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

Схема: send_notification: inputSchema

Обновлено

ПолеЗначение
$schema"https://json-schema.org/draft/2020-12/schema"
additionalPropertiesfalse
properties.bot.description"Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs."
properties.bot.maxLength128
properties.bot.minLength1
properties.bot.type"string"
properties.buttons.description"Up to 3 rows of up to 3 url buttons; they work on every messenger and are copied to the Open Lines topic."
properties.buttons.items.description"Value for buttons item."
properties.buttons.items.items.additionalPropertiesfalse
properties.buttons.items.items.description"Value for buttons item item."
properties.buttons.items.items.properties.text.description"Value for text."
properties.buttons.items.items.properties.text.maxLength30
properties.buttons.items.items.properties.text.type"string"
properties.buttons.items.items.properties.type.const"url"
properties.buttons.items.items.properties.type.description"Value for type."
properties.buttons.items.items.properties.type.type"string"
properties.buttons.items.items.properties.url.description"Value for url."
properties.buttons.items.items.properties.url.format"uri"
properties.buttons.items.items.properties.url.type"string"
properties.buttons.items.items.required["text","type","url"]
properties.buttons.items.items.type"object"
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.additionalPropertiesfalse
properties.media.description"Value for media."
properties.media.properties.caption.description"Value for caption."
properties.media.properties.caption.maxLength1024
properties.media.properties.caption.type"string"
properties.media.properties.type.description"Value for type."
properties.media.properties.type.enum["photo","document","video"]
properties.media.properties.type.type"string"
properties.media.properties.url.description"Value for url."
properties.media.properties.url.format"uri"
properties.media.properties.url.type"string"
properties.media.required["type","url"]
properties.media.type"object"
properties.parse_mode.anyOf.0.description"Value for parse mode option."
properties.parse_mode.anyOf.0.enum["HTML","Markdown"]
properties.parse_mode.anyOf.0.type"string"
properties.parse_mode.anyOf.1.description"Value for parse mode option."
properties.parse_mode.anyOf.1.type"null"
properties.parse_mode.description"Value for parse mode."
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_seq_id.description"Per-client user number (seq_num) of the recipient, as listed by the users API."
properties.user_seq_id.exclusiveMinimum0
properties.user_seq_id.maximum2147483647
properties.user_seq_id.type"integer"
required["user_seq_id","text"]
type"object"