class ForumTopic_
extends _ForumTopic_
import { ForumTopic_ } from "https://deno.land/x/mtkruto@0.1.157/tl/2_types.ts";
Represents a forum topic.
Constructors
new
ForumTopic_(params: { my?: true; closed?: true; pinned?: true; short?: true; hidden?: true; id: number; date: number; title: string; icon_color: number; icon_emoji_id?: bigint; top_message: number; read_inbox_max_id: number; read_outbox_max_id: number; unread_count: number; unread_mentions_count: number; unread_reactions_count: number; from_id: enums.Peer; notify_settings: enums.PeerNotifySettings; draft?: enums.DraftMessage; })Properties
protected
readonly
[params]: ParamsMessage draft
If no custom emoji icon is specified, specifies the color of the fallback topic icon (RGB), one of 0x6FB9F0
, 0xFFD67E
, 0xCB86DB
, 0x8EEE98
, 0xFF93B2
, or 0xFB6F5F
.
ID of the custom emoji used as topic icon.
Whether this constructor is a reduced version of the full topic information.
If set, only the my
, closed
, id
, date
, title
, icon_color
, icon_emoji_id
and from_id
parameters will contain valid information.
Reduced info is usually only returned in topic-related admin log events » and in the messages.channelMessages constructor: if needed, full information can be fetched using channels.getForumTopicsByID.
Number of unread mentions
Static Properties
readonly
[paramDesc]: ParamDesc