# Схема: PublicChannelSetResult

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

# Схема: PublicChannelSetResult

| Поле | Значение |
| - | - |
| additionalProperties | false |
| properties.channel.allOf.0.$ref | [PublicChannel](https://telegafirst.com/docs/schema-75358ce9d2a35c11ff432b50054c3cecf455ec227687450de06fa4af24b3d7e0) |
| properties.channel.allOf.1.description | "The channel bound after the call; null when outcome is unavailable." |
| properties.channel.allOf.1.type | \["object","null"] |
| 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.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.enum | \["no\_token","timeout","provider\_error",null] |
| properties.reason.type | \["string","null"] |
| properties.replaced\_channel\_chat\_id.description | "The channel this one replaced on the same messenger; null when none was bound." |
| properties.replaced\_channel\_chat\_id.maxLength | 128 |
| properties.replaced\_channel\_chat\_id.minLength | 1 |
| properties.replaced\_channel\_chat\_id.type | \["string","null"] |
| required | \["outcome","channel","replaced\_channel\_chat\_id","reason"] |
| type | "object" |
