Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>UpdateChannelViewForumAsMessages_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class UpdateChannelViewForumAsMessages_
extends _Update_
import { UpdateChannelViewForumAsMessages_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

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.

Constructors

new
UpdateChannelViewForumAsMessages_(params: { channel_id: bigint; enabled: boolean; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
channel_id: bigint

The forum ID

enabled: boolean

The new value of the toggle.

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc