updateChannelViewForumAsMessages
Users may also choose to display messages from all topics 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 the channels.toggleViewForumAsMessages method; invoking this method will update the value of the view_forum_as_messages flag of channelFull or dialog and emit an updateChannelViewForumAsMessages.
type tg.UpdateChannelViewForumAsMessages struct { /* ... */ }
Implements Update.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
ChannelID | int64 | yes | The forum ID |
Enabled | bool | yes | The new value of the toggle. |
References
- Official documentation
- Generated Go reference
- TL definition:
updateChannelViewForumAsMessages#7b68920