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_reorderPinnedForumTopics_

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

Reorder pinned forum topics

Constructors

new
channels_reorderPinnedForumTopics_(params: { force?: true; channel: enums.InputChannel; order: Array<number>; })

Properties

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

Supergroup ID

optional
force: true

If not set, the order of only the topics present both server-side and in order will be changed (i.e. mentioning topics not pinned server-side in order will not pin them, and not mentioning topics pinned server-side will not unpin them).
If set, the entire server-side pinned topic list will be replaced with order (i.e. mentioning topics not pinned server-side in order will pin them, and not mentioning topics pinned server-side will unpin them)

order: Array<number>

Static Properties

__F: (params: { force?: true; channel: enums.InputChannel; order: Array<number>; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc