# set\_public\_channel

Source: <https://telegafirst.com/docs/mcp-tool-set-public-channel>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 384f7e5fef6f547d6e54796a951cd6fa1e4e45a1f35a09f9a2a1f063bad4a9a9
Version: 5

# 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](https://telegafirst.com/docs/schema-6f2b921be24a4f171c1852489302f74e3761e54871979666ecc00bff2f861f1d)

## Результат

[set\_public\_channel: outputSchema](https://telegafirst.com/docs/schema-adfa5b59de2e4a99bf2a2ba3a498509162173d7aab26c3e98ab19c630fbbea1c)
