Readonly
appConfig
appConfig: AppConfigManagerProxy
Readonly
changePrimaryDc
changePrimaryDc: ((newDc: number) => Promise<void>)
Readonly
close
close: (() => Promise<void>)
Readonly
computeNewPasswordHash
Readonly
exportSession
exportSession: (() => Promise<string>)
Readonly
getApiCrenetials
getApiCrenetials: (() => Promise<{
hash: string;
id: number;
}>)
Readonly
getMtprotoMessageId
getMtprotoMessageId: (() => Promise<Long>) Readonly
getPoolSize
getPoolSize: ((kind: ConnectionKind,
dcId?: number) => Promise<number>) Readonly
getPrimaryDcId
getPrimaryDcId: (() => Promise<number>)
Readonly
handleClientUpdate
handleClientUpdate: ((updates: TypeUpdates,
noDispatch?: boolean) => void) Readonly
importSession
importSession: ((session: string | StringSessionData,
force?: boolean) => Promise<void>) Readonly
notifyChannelClosed
notifyChannelClosed: ((channelId: number) => Promise<boolean>)
Readonly
notifyChannelOpened
notifyChannelOpened: ((channelId: number, pts?: number) => Promise<boolean>)
Readonly
notifyLoggedOut
notifyLoggedOut: (() => Promise<void>)
Readonly
prepare
prepare: (() => Promise<void>)
Readonly
startUpdatesLoop
startUpdatesLoop: (() => Promise<void>)
Readonly
stopSignal
stopSignal: AbortSignal = ...
Readonly
stopUpdatesLoop
stopUpdatesLoop: (() => Promise<void>)
Readonly
storage
storage: TelegramStorageProxy