Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/src/tl/mod.ts>Api.ForumTopic

MTProto API Client for Deno 🦕
Go to Latest
class Api.ForumTopic
extends VirtualClass<{ my?: boolean; closed?: boolean; pinned?: boolean; short?: boolean; hidden?: boolean; id: int; date: int; title: string; iconColor: int; iconEmojiId?: long; topMessage: int; readInboxMaxId: int; readOutboxMaxId: int; unreadCount: int; unreadMentionsCount: int; unreadReactionsCount: int; fromId: Api.TypePeer; notifySettings: Api.TypePeerNotifySettings; draft?: Api.TypeDraftMessage; }>
import { Api } from "https://deno.land/x/grm@0.8.0/src/tl/mod.ts";
const { ForumTopic } = Api;

Properties

className: "ForumTopic"
classType: "constructor"
optional
closed: boolean
CONSTRUCTOR_ID: 1903173033
date: int
optional
draft: Api.TypeDraftMessage
fromId: Api.TypePeer
optional
hidden: boolean
iconColor: int
optional
iconEmojiId: long
id: int
optional
my: boolean
notifySettings: Api.TypePeerNotifySettings
optional
pinned: boolean
readInboxMaxId: int
readOutboxMaxId: int
optional
short: boolean
SUBCLASS_OF_ID: 2367169027
title: string
topMessage: int
unreadCount: int
unreadMentionsCount: int
unreadReactionsCount: int

Static Methods

fromReader(reader: Reader): ForumTopic