Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ForumTopic

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { my?: boolean; closed?: boolean; pinned?: boolean; short?: boolean; hidden?: boolean; id: number; date: number; title: string; iconColor: number; iconEmojiId?: BigInteger; topMessage: number; readInboxMaxId: number; readOutboxMaxId: number; unreadCount: number; unreadMentionsCount: number; unreadReactionsCount: number; fromId: TypePeer; notifySettings: PeerNotifySettings; draft?: TypeDraftMessage }

Type declaration

  • Optional my?: boolean
  • Optional closed?: boolean
  • Optional pinned?: boolean
  • Optional short?: boolean
  • Optional hidden?: boolean
  • id: number
  • date: number
  • title: string
  • iconColor: number
  • Optional iconEmojiId?: BigInteger
  • topMessage: number
  • readInboxMaxId: number
  • readOutboxMaxId: number
  • unreadCount: number
  • unreadMentionsCount: number
  • unreadReactionsCount: number
  • fromId: TypePeer
  • notifySettings: PeerNotifySettings
  • Optional draft?: TypeDraftMessage
CONSTRUCTOR_ID: 1903173033
SUBCLASS_OF_ID: 2367169027
classType: "constructor"
className: "ForumTopic"
my?: boolean
closed?: boolean
pinned?: boolean
short?: boolean
hidden?: boolean
id: number
date: number
title: string
iconColor: number
iconEmojiId?: BigInteger
topMessage: number
readInboxMaxId: number
readOutboxMaxId: number
unreadCount: number
unreadMentionsCount: number
unreadReactionsCount: number
fromId: TypePeer
notifySettings: PeerNotifySettings

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { my?: boolean; closed?: boolean; pinned?: boolean; short?: boolean; hidden?: boolean; id: number; date: number; title: string; iconColor: number; iconEmojiId?: BigInteger; topMessage: number; readInboxMaxId: number; readOutboxMaxId: number; unreadCount: number; unreadMentionsCount: number; unreadReactionsCount: number; fromId: TypePeer; notifySettings: PeerNotifySettings; draft?: TypeDraftMessage }
  • Returns { my?: boolean; closed?: boolean; pinned?: boolean; short?: boolean; hidden?: boolean; id: number; date: number; title: string; iconColor: number; iconEmojiId?: BigInteger; topMessage: number; readInboxMaxId: number; readOutboxMaxId: number; unreadCount: number; unreadMentionsCount: number; unreadReactionsCount: number; fromId: TypePeer; notifySettings: PeerNotifySettings; draft?: TypeDraftMessage }

    • Optional my?: boolean
    • Optional closed?: boolean
    • Optional pinned?: boolean
    • Optional short?: boolean
    • Optional hidden?: boolean
    • id: number
    • date: number
    • title: string
    • iconColor: number
    • Optional iconEmojiId?: BigInteger
    • topMessage: number
    • readInboxMaxId: number
    • readOutboxMaxId: number
    • unreadCount: number
    • unreadMentionsCount: number
    • unreadReactionsCount: number
    • fromId: TypePeer
    • notifySettings: PeerNotifySettings
    • Optional draft?: TypeDraftMessage

Constructors

  • new ForumTopic(args: { my?: boolean; closed?: boolean; pinned?: boolean; short?: boolean; hidden?: boolean; id: number; date: number; title: string; iconColor: number; iconEmojiId?: BigInteger; topMessage: number; readInboxMaxId: number; readOutboxMaxId: number; unreadCount: number; unreadMentionsCount: number; unreadReactionsCount: number; fromId: TypePeer; notifySettings: PeerNotifySettings; draft?: TypeDraftMessage }): ForumTopic
  • Parameters

    • args: { my?: boolean; closed?: boolean; pinned?: boolean; short?: boolean; hidden?: boolean; id: number; date: number; title: string; iconColor: number; iconEmojiId?: BigInteger; topMessage: number; readInboxMaxId: number; readOutboxMaxId: number; unreadCount: number; unreadMentionsCount: number; unreadReactionsCount: number; fromId: TypePeer; notifySettings: PeerNotifySettings; draft?: TypeDraftMessage }
      • Optional my?: boolean
      • Optional closed?: boolean
      • Optional pinned?: boolean
      • Optional short?: boolean
      • Optional hidden?: boolean
      • id: number
      • date: number
      • title: string
      • iconColor: number
      • Optional iconEmojiId?: BigInteger
      • topMessage: number
      • readInboxMaxId: number
      • readOutboxMaxId: number
      • unreadCount: number
      • unreadMentionsCount: number
      • unreadReactionsCount: number
      • fromId: TypePeer
      • notifySettings: PeerNotifySettings
      • Optional draft?: TypeDraftMessage

    Returns ForumTopic

Generated using TypeDoc