Для AI-агентов: markdown этой страницы — /docs/mcp-tool-set-public-channel.mdиндекс документации — /llms.txt
set_public_channel
Обновлено
Bind the public channel of this business on one messenger, replacing the one bound there before. `channel_ref` is the numeric id of the channel in that messenger or, for Telegram only, the @handle of a public channel (resolved once to the id; only the id is stored). First add the business bot of that messenger to the channel as an administrator; the platform checks it before anything changes. PUBLIC_CHANNEL_BOT_NOT_ADMIN: the bot is not an administrator there or no such channel exists (the id or @handle names none; Telegram answers both the same way), the previous binding stays. `outcome: unavailable`: the messenger did not answer, nothing changed, repeat the call. The owner and the Settings group are notified of every change. Access rules that require the channel start admitting its members on that messenger.
Права и условия
required_scopes: ALL.
| Поле | Значение |
|---|---|
| description | "Bind the public channel of this business on one messenger, replacing the one bound there before. `channel_ref` is the numeric id of the channel in that messenger or, for Telegram only, the @handle of a public channel (resolved once to the id; only the id is stored). First add the business bot of that messenger to the channel as an administrator; the platform checks it before anything changes. PUBLIC_CHANNEL_BOT_NOT_ADMIN: the bot is not an administrator there or no such channel exists (the id or @handle names none; Telegram answers both the same way), the previous binding stays. `outcome: unavailable`: the messenger did not answer, nothing changed, repeat the call. The owner and the Settings group are notified of every change. Access rules that require the channel start admitting its members on that messenger." |
| domain | "public-channel" |
| name | "set_public_channel" |
| platform_version | "1.0.34" |
| required_scopes | ["public-channel:write"] |
| risk | "write" |
| scope | "public-channel:write" |
| title | "Set Public Channel" |
Входные параметры
set_public_channel: inputSchema