telegram api constructor · layer 229 · #07b68920

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.

definition

updateChannelViewForumAsMessages#7b68920 channel_id:long enabled:Bool = Update;

parameters

nametypedescription
channel_idlongThe forum ID
enabledBoolThe new value of the toggle.

type

Update · 164 other constructors

history

present in layers 167–229

idlayers
#07b68920167–229