Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InitConnection

Hierarchy

  • Request<Partial<{ apiId: int; deviceModel: string; systemVersion: string; appVersion: string; systemLangCode: string; langPack: string; langCode: string; proxy?: TypeInputClientProxy; params?: TypeJSONValue; query: X }>, X>
    • InitConnection

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: Partial<Partial<{ apiId: number; deviceModel: string; systemVersion: string; appVersion: string; systemLangCode: string; langPack: string; langCode: string; proxy?: InputClientProxy; params?: TypeJSONValue; query: unknown }>>
__response: unknown
CONSTRUCTOR_ID: 3251461801
SUBCLASS_OF_ID: 3081909835
classType: "request"
className: "InitConnection"
apiId: number
deviceModel: string
systemVersion: string
appVersion: string
systemLangCode: string
langPack: string
langCode: string
params?: TypeJSONValue
query: unknown

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): Partial<Partial<{ apiId: number; deviceModel: string; systemVersion: string; appVersion: string; systemLangCode: string; langPack: string; langCode: string; proxy?: InputClientProxy; params?: TypeJSONValue; query: unknown }>>
  • readResult(reader: any): Buffer
  • resolve(client: any, utils: any): Promise<void>

Constructors

  • new InitConnection(args: Partial<Partial<{ apiId: number; deviceModel: string; systemVersion: string; appVersion: string; systemLangCode: string; langPack: string; langCode: string; proxy?: InputClientProxy; params?: TypeJSONValue; query: unknown }>>): InitConnection

Generated using TypeDoc