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

x/mtkruto/tl/3_functions.ts>channels_toggleViewForumAsMessages_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class channels_toggleViewForumAsMessages_
extends Function_<enums.Updates>
import { channels_toggleViewForumAsMessages_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

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.

Constructors

new
channels_toggleViewForumAsMessages_(params: { channel: enums.InputChannel; enabled: boolean; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
channel: enums.InputChannel

The forum

enabled: boolean

The new value of the view_forum_as_messages flag.

Static Properties

__F: (params: { channel: enums.InputChannel; enabled: boolean; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc