channels.toggleViewForumAsMessages
Users may also choose to display messages from all topics of a forum as if they were sent to a normal group, using a "View as messages" setting in the local client: this setting only affects the current account, and is synced to other logged in sessions using this method.
Users may also choose to display messages from all topics of a [forum](https://core.telegram.org/api/forum.md) as if they were sent to a normal group, using a "View as messages" setting in the local client: this setting only affects the current account, and is synced to other logged in sessions using this method.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
channel | InputChannel | はい | The forum |
enabled | Bool | はい | The new value of the `view_forum_as_messages` flag. |
レスポンス
Updates
MTProto RPC
- 400 · CHANNEL_INVALID — The provided channel is invalid.