Readonly
appConfig
appConfig: AppConfigManagerProxy
Readonly
changePrimaryDc
changePrimaryDc: (newDc: number) => Promise<void>
Readonly
close
close: () => Promise<void>
Readonly
computeNewPasswordHash
Readonly
exportSession
exportSession: () => Promise<string>
Readonly
getApiCredentials
getApiCredentials: () => Promise<{ hash: string; id: number }>
Readonly
getMtprotoMessageId
getMtprotoMessageId: () => Promise<Long> Readonly
getPrimaryDcId
getPrimaryDcId: () => Promise<number>
Readonly
handleClientUpdate
handleClientUpdate: (updates: TypeUpdates, noDispatch?: boolean) => void Readonly
notifyChannelClosed
notifyChannelClosed: (channelId: number) => Promise<boolean>
Readonly
notifyChannelOpened
notifyChannelOpened: (channelId: number, pts?: number) => Promise<boolean>
Readonly
notifyLoggedOut
notifyLoggedOut: () => Promise<void>
onError
onError: Emitter<Error> = ...
Readonly
prepare
prepare: () => Promise<void>
Readonly
recreateDc
recreateDc: (dcId: number) => Promise<void>
Readonly
startUpdatesLoop
startUpdatesLoop: () => Promise<void>
Readonly
stopSignal
stopSignal: AbortSignal = ...
Readonly
stopUpdatesLoop
stopUpdatesLoop: () => Promise<void>
Readonly
storage
storage: TelegramStorageProxy
Readonly
timers
timers: TimersManager