interface TelegramTransport {
    connect: (dc: BasicDcOption) => Promise<ITelegramConnection>;
    packetCodec: (dc: BasicDcOption) => IPacketCodec;
    setup(crypto: ICryptoProvider, log: Logger): void;
}

Implemented by

Properties

Methods

Properties

connect: (dc: BasicDcOption) => Promise<ITelegramConnection>
packetCodec: (dc: BasicDcOption) => IPacketCodec

Methods