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

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

Схема: ButtonCallback

Обновлено

ПолеЗначение
properties.callback_data.description"An integration mechanism of an ExternalApp key: when the user taps the button, the value is delivered to your server by the button.clicked webhook. Sent with any other credential (an OAuth grant or an M2M credential) a callback button is refused with INVALID_BUTTON_CONFIG; the MCP send_notification tool carries url buttons only. The platform prefixes it with ext:{app}:, and the prefixed value must fit 64 bytes. Answered only for a Telegram user: for a MAX or VK user a callback button is refused with INVALID_BUTTON_CONFIG — use a url button."
properties.callback_data.maxLength64
properties.callback_data.type"string"
properties.text.maxLength30
properties.text.type"string"
properties.type.enum["callback"]
properties.type.type"string"
required["text","type","callback_data"]
type"object"