Для AI-агентов: markdown этой страницы — /docs/schema-6f2b921be24a4f171c1852489302f74e3761e54871979666ecc00bff2f861f1d.mdиндекс документации — /llms.txt
Схема: set_public_channel: inputSchema
Обновлено
| Поле | Значение |
|---|---|
| $schema | "https://json-schema.org/draft/2020-12/schema" |
| additionalProperties | false |
| 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.maxLength | 128 |
| properties.bot.minLength | 1 |
| properties.bot.type | "string" |
| properties.channel.description | "The messenger the channel lives in." |
| properties.channel.enum | ["telegram","max","vk"] |
| properties.channel.type | "string" |
| properties.channel_ref.description | "The channel: its numeric id in that messenger as a string (a Telegram channel id starts with -100), or, for Telegram only, the @handle of a public channel." |
| properties.channel_ref.pattern | "^(?:-?[1-9]\\d{0,18}|@[A-Za-z0-9_]{5,32})$" |
| properties.channel_ref.type | "string" |
| required | ["channel","channel_ref"] |
| type | "object" |