Interface SessionConnectionParams

interface SessionConnectionParams {
    crypto: ICryptoProvider;
    dc: BasicDcOption;
    disableUpdates?: boolean;
    enableErrorReporting: boolean;
    inactivityTimeout?: number;
    initConnection: RawInitConnectionRequest<TlObject>;
    isMainConnection: boolean;
    isMainDcConnection: boolean;
    layer: number;
    readerMap: TlReaderMap;
    reconnectionStrategy: ReconnectionStrategy<PersistentConnectionParams>;
    salts: ServerSaltManager;
    testMode: boolean;
    transportFactory: TransportFactory;
    usePfs?: boolean;
    withUpdates?: boolean;
    writerMap: TlWriterMap;
}

Hierarchy

  • PersistentConnectionParams
    • SessionConnectionParams

Properties

disableUpdates?: boolean
enableErrorReporting: boolean
inactivityTimeout?: number
initConnection: RawInitConnectionRequest<TlObject>
isMainConnection: boolean
isMainDcConnection: boolean
layer: number
readerMap: TlReaderMap
reconnectionStrategy: ReconnectionStrategy<PersistentConnectionParams>
salts: ServerSaltManager
testMode: boolean
transportFactory: TransportFactory
usePfs?: boolean
withUpdates?: boolean
writerMap: TlWriterMap