channels.toggleJoinToSend
Set whether all users should join a discussion group in order to comment on a post »
Set whether all users [should join a discussion group in order to comment on a post »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group)
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
channel | InputChannel | Ja | Discussion group |
enabled | Bool | Ja | Toggle |
Antworten
Updates
MTProto RPC
- 400 · CHANNEL_INVALID – Der angegebene Kanal ist ungültig.
- 400 · CHAT_ADMIN_REQUIRED — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.
- 400 · CHAT_ID_INVALID – Die angegebene Chat-ID ist ungültig.
- 400 · CHAT_NOT_MODIFIED — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.