Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Dialog

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { pinned?: boolean; unreadMark?: boolean; viewForumAsMessages?: boolean; peer: TypePeer; topMessage: number; readInboxMaxId: number; readOutboxMaxId: number; unreadCount: number; unreadMentionsCount: number; unreadReactionsCount: number; notifySettings: PeerNotifySettings; pts?: number; draft?: TypeDraftMessage; folderId?: number; ttlPeriod?: number }

Type declaration

  • Optional pinned?: boolean
  • Optional unreadMark?: boolean
  • Optional viewForumAsMessages?: boolean
  • peer: TypePeer
  • topMessage: number
  • readInboxMaxId: number
  • readOutboxMaxId: number
  • unreadCount: number
  • unreadMentionsCount: number
  • unreadReactionsCount: number
  • notifySettings: PeerNotifySettings
  • Optional pts?: number
  • Optional draft?: TypeDraftMessage
  • Optional folderId?: number
  • Optional ttlPeriod?: number
CONSTRUCTOR_ID: 3582593222
SUBCLASS_OF_ID: 1120787796
classType: "constructor"
className: "Dialog"
pinned?: boolean
unreadMark?: boolean
viewForumAsMessages?: boolean
peer: TypePeer
topMessage: number
readInboxMaxId: number
readOutboxMaxId: number
unreadCount: number
unreadMentionsCount: number
unreadReactionsCount: number
notifySettings: PeerNotifySettings
pts?: number
folderId?: number
ttlPeriod?: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { pinned?: boolean; unreadMark?: boolean; viewForumAsMessages?: boolean; peer: TypePeer; topMessage: number; readInboxMaxId: number; readOutboxMaxId: number; unreadCount: number; unreadMentionsCount: number; unreadReactionsCount: number; notifySettings: PeerNotifySettings; pts?: number; draft?: TypeDraftMessage; folderId?: number; ttlPeriod?: number }
  • Returns { pinned?: boolean; unreadMark?: boolean; viewForumAsMessages?: boolean; peer: TypePeer; topMessage: number; readInboxMaxId: number; readOutboxMaxId: number; unreadCount: number; unreadMentionsCount: number; unreadReactionsCount: number; notifySettings: PeerNotifySettings; pts?: number; draft?: TypeDraftMessage; folderId?: number; ttlPeriod?: number }

    • Optional pinned?: boolean
    • Optional unreadMark?: boolean
    • Optional viewForumAsMessages?: boolean
    • peer: TypePeer
    • topMessage: number
    • readInboxMaxId: number
    • readOutboxMaxId: number
    • unreadCount: number
    • unreadMentionsCount: number
    • unreadReactionsCount: number
    • notifySettings: PeerNotifySettings
    • Optional pts?: number
    • Optional draft?: TypeDraftMessage
    • Optional folderId?: number
    • Optional ttlPeriod?: number

Constructors

  • new Dialog(args: { pinned?: boolean; unreadMark?: boolean; viewForumAsMessages?: boolean; peer: TypePeer; topMessage: number; readInboxMaxId: number; readOutboxMaxId: number; unreadCount: number; unreadMentionsCount: number; unreadReactionsCount: number; notifySettings: PeerNotifySettings; pts?: number; draft?: TypeDraftMessage; folderId?: number; ttlPeriod?: number }): Api.Dialog
  • Parameters

    • args: { pinned?: boolean; unreadMark?: boolean; viewForumAsMessages?: boolean; peer: TypePeer; topMessage: number; readInboxMaxId: number; readOutboxMaxId: number; unreadCount: number; unreadMentionsCount: number; unreadReactionsCount: number; notifySettings: PeerNotifySettings; pts?: number; draft?: TypeDraftMessage; folderId?: number; ttlPeriod?: number }
      • Optional pinned?: boolean
      • Optional unreadMark?: boolean
      • Optional viewForumAsMessages?: boolean
      • peer: TypePeer
      • topMessage: number
      • readInboxMaxId: number
      • readOutboxMaxId: number
      • unreadCount: number
      • unreadMentionsCount: number
      • unreadReactionsCount: number
      • notifySettings: PeerNotifySettings
      • Optional pts?: number
      • Optional draft?: TypeDraftMessage
      • Optional folderId?: number
      • Optional ttlPeriod?: number

    Returns Api.Dialog

Generated using TypeDoc