Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DialogFolder

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { pinned?: boolean; folder: Folder; peer: TypePeer; topMessage: number; unreadMutedPeersCount: number; unreadUnmutedPeersCount: number; unreadMutedMessagesCount: number; unreadUnmutedMessagesCount: number }

Type declaration

  • Optional pinned?: boolean
  • folder: Folder
  • peer: TypePeer
  • topMessage: number
  • unreadMutedPeersCount: number
  • unreadUnmutedPeersCount: number
  • unreadMutedMessagesCount: number
  • unreadUnmutedMessagesCount: number
CONSTRUCTOR_ID: 1908216652
SUBCLASS_OF_ID: 1120787796
classType: "constructor"
className: "DialogFolder"
pinned?: boolean
folder: Folder
peer: TypePeer
topMessage: number
unreadMutedPeersCount: number
unreadUnmutedPeersCount: number
unreadMutedMessagesCount: number
unreadUnmutedMessagesCount: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { pinned?: boolean; folder: Folder; peer: TypePeer; topMessage: number; unreadMutedPeersCount: number; unreadUnmutedPeersCount: number; unreadMutedMessagesCount: number; unreadUnmutedMessagesCount: number }
  • Returns { pinned?: boolean; folder: Folder; peer: TypePeer; topMessage: number; unreadMutedPeersCount: number; unreadUnmutedPeersCount: number; unreadMutedMessagesCount: number; unreadUnmutedMessagesCount: number }

    • Optional pinned?: boolean
    • folder: Folder
    • peer: TypePeer
    • topMessage: number
    • unreadMutedPeersCount: number
    • unreadUnmutedPeersCount: number
    • unreadMutedMessagesCount: number
    • unreadUnmutedMessagesCount: number

Constructors

  • new DialogFolder(args: { pinned?: boolean; folder: Folder; peer: TypePeer; topMessage: number; unreadMutedPeersCount: number; unreadUnmutedPeersCount: number; unreadMutedMessagesCount: number; unreadUnmutedMessagesCount: number }): DialogFolder
  • Parameters

    • args: { pinned?: boolean; folder: Folder; peer: TypePeer; topMessage: number; unreadMutedPeersCount: number; unreadUnmutedPeersCount: number; unreadMutedMessagesCount: number; unreadUnmutedMessagesCount: number }
      • Optional pinned?: boolean
      • folder: Folder
      • peer: TypePeer
      • topMessage: number
      • unreadMutedPeersCount: number
      • unreadUnmutedPeersCount: number
      • unreadMutedMessagesCount: number
      • unreadUnmutedMessagesCount: number

    Returns DialogFolder

Generated using TypeDoc