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_editForumTopic_

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

Constructors

new
channels_editForumTopic_(params: { channel: enums.InputChannel; topic_id: number; title?: string; icon_emoji_id?: bigint; closed?: boolean; hidden?: boolean; })

Properties

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

Supergroup

optional
closed: boolean

If present, will update the open/closed status of the topic.

optional
hidden: boolean

If present, will hide/unhide the topic (only valid for the "General" topic, id=1).

optional
icon_emoji_id: bigint

If present, updates the custom emoji used as topic icon. Telegram Premium users can use any custom emoji, other users can only use the custom emojis contained in the inputStickerSetEmojiDefaultTopicIcons emoji pack. Pass 0 to switch to the fallback topic icon.

optional
title: string

If present, will update the topic title (maximum UTF-8 length: 128).

topic_id: number

Topic ID

Static Properties

__F: (params: { channel: enums.InputChannel; topic_id: number; title?: string; icon_emoji_id?: bigint; closed?: boolean; hidden?: boolean; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc