К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/schema-ab8f9e706f5dab9bee96c72443f7dfbd6ea8e03125ba042bdb9ffff2e5575f11.mdиндекс документации — /llms.txt

Схема: PublicChannelSetResult

Обновлено

ПолеЗначение
additionalPropertiesfalse
properties.channel.allOf.0.$refPublicChannel
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.maxLength128
properties.replaced_channel_chat_id.minLength1
properties.replaced_channel_chat_id.type["string","null"]
required["outcome","channel","replaced_channel_chat_id","reason"]
type"object"