Raw.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.
channels.toggleViewForumAsMessages#9738bb15 channel:InputChannel enabled:Bool = Updates;
export namespace Raw {
export namespace channels {
export class ToggleViewForumAsMessages {
constructor(params: { channel: Raw.TypeInputChannel; enabled: boolean }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x9738bb15
Property
channel
: Raw.TypeInputChannelThe forum
enabled
: booleanThe new value of the viewForumAsMessages flag.