Documentation - v0.27.1
    Preparing search index...

    Interface MtProxySettings

    MTProto proxy settings

    interface MtProxySettings {
        host: string;
        port: number;
        secret: string | Uint8Array<ArrayBufferLike>;
    }
    Index

    Properties

    Properties

    host: string

    Host or IP of the proxy (e.g. proxy.example.com, 1.2.3.4)

    port: number

    Port of the proxy (e.g. 8888)

    secret: string | Uint8Array<ArrayBufferLike>

    Secret of the proxy, optionally encoded either as hex or base64