interface SessionConnectionParams {
    crypto: ICryptoProvider;
    dc: BasicDcOption;
    disableUpdates?: boolean;
    enableErrorReporting: boolean;
    inactivityTimeout?: number;
    initConnection: RawInitConnectionRequest;
    isMainConnection: boolean;
    isMainDcConnection: boolean;
    layer: number;
    pingInterval: number;
    platform: ICorePlatform;
    readerMap: TlReaderMap;
    reconnectionStrategy: ReconnectionStrategy;
    salts: ServerSaltManager;
    testMode: boolean;
    transport: TelegramTransport;
    usePfs?: boolean;
    withUpdates?: boolean;
    writerMap: TlWriterMap;
}

Hierarchy

  • PersistentConnectionParams
    • SessionConnectionParams

Properties

disableUpdates?: boolean
enableErrorReporting: boolean
inactivityTimeout?: number
initConnection: RawInitConnectionRequest
isMainConnection: boolean
isMainDcConnection: boolean
layer: number
pingInterval: number
platform: ICorePlatform
readerMap: TlReaderMap
reconnectionStrategy: ReconnectionStrategy
salts: ServerSaltManager
testMode: boolean
usePfs?: boolean
withUpdates?: boolean
writerMap: TlWriterMap