# Схема: set\_public\_channel: inputSchema

Source: <https://telegafirst.com/docs/schema-6f2b921be24a4f171c1852489302f74e3761e54871979666ecc00bff2f861f1d>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 2187f366b7a8aa9ed58ea5859d7d426028d3ee5649cf2dad8f92f8b5f351a02b
Version: 5

# Схема: 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" |
