# Схема: connect\_channel: inputSchema

Source: <https://telegafirst.com/docs/schema-76b48db8a5e8ba092497e5020fead5298657d8e7daac2febe1cfa2ea501a8021>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: 71c34fdb0fda82381ce386ced328642c5f42354786b3da729e094806cc44a1f9
Version: 2

# Схема: connect\_channel: inputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| oneOf.0.additionalProperties | false |
| oneOf.0.description | "Value for input option." |
| oneOf.0.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." |
| oneOf.0.properties.bot.maxLength | 128 |
| oneOf.0.properties.bot.minLength | 1 |
| oneOf.0.properties.bot.type | "string" |
| oneOf.0.properties.bot\_token.description | "Value for bot token." |
| oneOf.0.properties.bot\_token.maxLength | 1024 |
| oneOf.0.properties.bot\_token.minLength | 1 |
| oneOf.0.properties.bot\_token.type | "string" |
| oneOf.0.properties.channel.const | "max" |
| oneOf.0.properties.channel.description | "Value for channel." |
| oneOf.0.properties.channel.type | "string" |
| oneOf.0.properties.idempotency\_key.description | "Value for idempotency key." |
| oneOf.0.properties.idempotency\_key.maxLength | 128 |
| oneOf.0.properties.idempotency\_key.minLength | 1 |
| oneOf.0.properties.idempotency\_key.type | "string" |
| oneOf.0.required | \["channel","bot\_token","idempotency\_key"] |
| oneOf.0.type | "object" |
| oneOf.1.additionalProperties | false |
| oneOf.1.description | "Value for input option." |
| oneOf.1.properties.access\_token.description | "Value for access token." |
| oneOf.1.properties.access\_token.maxLength | 1024 |
| oneOf.1.properties.access\_token.minLength | 1 |
| oneOf.1.properties.access\_token.type | "string" |
| oneOf.1.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." |
| oneOf.1.properties.bot.maxLength | 128 |
| oneOf.1.properties.bot.minLength | 1 |
| oneOf.1.properties.bot.type | "string" |
| oneOf.1.properties.channel.const | "vk" |
| oneOf.1.properties.channel.description | "Value for channel." |
| oneOf.1.properties.channel.type | "string" |
| oneOf.1.properties.group\_id.description | "Value for group id." |
| oneOf.1.properties.group\_id.exclusiveMinimum | 0 |
| oneOf.1.properties.group\_id.maximum | 9007199254740991 |
| oneOf.1.properties.group\_id.type | "integer" |
| oneOf.1.properties.idempotency\_key.description | "Value for idempotency key." |
| oneOf.1.properties.idempotency\_key.maxLength | 128 |
| oneOf.1.properties.idempotency\_key.minLength | 1 |
| oneOf.1.properties.idempotency\_key.type | "string" |
| oneOf.1.required | \["channel","access\_token","group\_id","idempotency\_key"] |
| oneOf.1.type | "object" |
