Для AI-агентов: markdown этой страницы — /docs/schema-adfa5b59de2e4a99bf2a2ba3a498509162173d7aab26c3e98ab19c630fbbea1c.mdиндекс документации — /llms.txt
Схема: set_public_channel: outputSchema
Обновлено
| Поле | Значение |
|---|---|
| $schema | "https://json-schema.org/draft/2020-12/schema" |
| additionalProperties | false |
| properties.channel.anyOf.0.additionalProperties | false |
| properties.channel.anyOf.0.properties.channel.enum | ["telegram","max","vk"] |
| properties.channel.anyOf.0.properties.channel.type | "string" |
| properties.channel.anyOf.0.properties.channel_chat_id.maxLength | 128 |
| properties.channel.anyOf.0.properties.channel_chat_id.minLength | 1 |
| properties.channel.anyOf.0.properties.channel_chat_id.type | "string" |
| properties.channel.anyOf.0.properties.handle.description | "The @handle without the @; null when the channel has none." |
| properties.channel.anyOf.0.properties.handle.type | ["string","null"] |
| properties.channel.anyOf.0.properties.ready.description | "true: the bot reads the channel now and subscription checks work; false: see reason." |
| properties.channel.anyOf.0.properties.ready.type | "boolean" |
| properties.channel.anyOf.0.properties.reason.anyOf.0.description | "Why the messenger could not be asked: the bot has no token, it did not answer in time, or it answered with an error." |
| properties.channel.anyOf.0.properties.reason.anyOf.0.enum | ["no_token","timeout","provider_error"] |
| properties.channel.anyOf.0.properties.reason.anyOf.0.type | "string" |
| properties.channel.anyOf.0.properties.reason.anyOf.1.type | "null" |
| properties.channel.anyOf.0.properties.title.type | ["string","null"] |
| properties.channel.anyOf.0.properties.url.description | "The address a customer opens to join; null when the messenger did not answer." |
| properties.channel.anyOf.0.properties.url.type | ["string","null"] |
| properties.channel.anyOf.0.required | ["channel","channel_chat_id","title","handle","url","ready","reason"] |
| properties.channel.anyOf.0.type | "object" |
| properties.channel.anyOf.1.type | "null" |
| properties.channel.description | "The channel bound after the call; null when outcome is unavailable." |
| properties.outcome.description | "unavailable: the messenger did not answer, nothing changed; repeat the call." |
| properties.outcome.enum | ["connected","unchanged","unavailable"] |
| properties.outcome.type | "string" |
| properties.reason.anyOf.0.description | "Why the messenger could not be asked: the bot has no token, it did not answer in time, or it answered with an error." |
| properties.reason.anyOf.0.enum | ["no_token","timeout","provider_error"] |
| properties.reason.anyOf.0.type | "string" |
| properties.reason.anyOf.1.type | "null" |
| properties.replaced_channel_chat_id.anyOf.0.maxLength | 128 |
| properties.replaced_channel_chat_id.anyOf.0.minLength | 1 |
| properties.replaced_channel_chat_id.anyOf.0.type | "string" |
| properties.replaced_channel_chat_id.anyOf.1.type | "null" |
| properties.replaced_channel_chat_id.description | "The channel this one replaced on the same messenger; null when none was bound." |
| required | ["outcome","channel","replaced_channel_chat_id","reason"] |
| type | "object" |