Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InitTakeoutSession

Hierarchy

  • Request<Partial<{ contacts?: boolean; messageUsers?: boolean; messageChats?: boolean; messageMegagroups?: boolean; messageChannels?: boolean; files?: boolean; fileMaxSize?: long }>, TypeTakeout>
    • InitTakeoutSession

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: Partial<Partial<{ contacts?: boolean; messageUsers?: boolean; messageChats?: boolean; messageMegagroups?: boolean; messageChannels?: boolean; files?: boolean; fileMaxSize?: BigInteger }>>
__response: Takeout
CONSTRUCTOR_ID: 2398350000
SUBCLASS_OF_ID: 2218704517
classType: "request"
className: "account.InitTakeoutSession"
contacts?: boolean
messageUsers?: boolean
messageChats?: boolean
messageMegagroups?: boolean
messageChannels?: boolean
files?: boolean
fileMaxSize?: BigInteger

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): Partial<Partial<{ contacts?: boolean; messageUsers?: boolean; messageChats?: boolean; messageMegagroups?: boolean; messageChannels?: boolean; files?: boolean; fileMaxSize?: BigInteger }>>
  • Returns Partial<Partial<{ contacts?: boolean; messageUsers?: boolean; messageChats?: boolean; messageMegagroups?: boolean; messageChannels?: boolean; files?: boolean; fileMaxSize?: BigInteger }>>

  • readResult(reader: any): Buffer
  • resolve(client: any, utils: any): Promise<void>

Constructors

  • new InitTakeoutSession(args: Partial<Partial<{ contacts?: boolean; messageUsers?: boolean; messageChats?: boolean; messageMegagroups?: boolean; messageChannels?: boolean; files?: boolean; fileMaxSize?: BigInteger }>>): InitTakeoutSession
  • Parameters

    • args: Partial<Partial<{ contacts?: boolean; messageUsers?: boolean; messageChats?: boolean; messageMegagroups?: boolean; messageChannels?: boolean; files?: boolean; fileMaxSize?: BigInteger }>>

    Returns InitTakeoutSession

Generated using TypeDoc