Raw.UpdateChannelViewForumAsMessages

Raw.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 viewForumAsMessages flag of channelfull or dialog and emit an updatechannelviewforumasmessages.

updateChannelViewForumAsMessages#7b68920 channel_id:long enabled:Bool = Update;
export namespace Raw {
  export class UpdateChannelViewForumAsMessages {
    constructor(params: { channelId: bigint; enabled: boolean }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x7b68920

Property

  • channelId : bigint

    The forum id

  • enabled : boolean

    The new value of the toggle.