# Схема: get\_public\_channels: outputSchema

Source: <https://telegafirst.com/docs/schema-f325b733534286a49caecd6c16adf67f02f4c55e321073423050cd457dec597e>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: e7bec7cbb1b59ad600bef58e6e43734d29e909030cd43a5e54893255906842b0
Version: 5

# Схема: get\_public\_channels: outputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| additionalProperties | false |
| properties.channels.items.additionalProperties | false |
| properties.channels.items.properties.channel.enum | \["telegram","max","vk"] |
| properties.channels.items.properties.channel.type | "string" |
| properties.channels.items.properties.channel\_chat\_id.maxLength | 128 |
| properties.channels.items.properties.channel\_chat\_id.minLength | 1 |
| properties.channels.items.properties.channel\_chat\_id.type | "string" |
| properties.channels.items.properties.handle.description | "The @handle without the @; null when the channel has none." |
| properties.channels.items.properties.handle.type | \["string","null"] |
| properties.channels.items.properties.ready.description | "true: the bot reads the channel now and subscription checks work; false: see reason." |
| properties.channels.items.properties.ready.type | "boolean" |
| properties.channels.items.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.channels.items.properties.reason.anyOf.0.enum | \["no\_token","timeout","provider\_error"] |
| properties.channels.items.properties.reason.anyOf.0.type | "string" |
| properties.channels.items.properties.reason.anyOf.1.type | "null" |
| properties.channels.items.properties.title.type | \["string","null"] |
| properties.channels.items.properties.url.description | "The address a customer opens to join; null when the messenger did not answer." |
| properties.channels.items.properties.url.type | \["string","null"] |
| properties.channels.items.required | \["channel","channel\_chat\_id","title","handle","url","ready","reason"] |
| properties.channels.items.type | "object" |
| properties.channels.maxItems | 3 |
| properties.channels.type | "array" |
| required | \["channels"] |
| type | "object" |
