Interface TestProxy

Sends a simple network request to the Telegram servers via proxy; for testing only. Can be called before authorization. Request type for Tdjson#testProxy.

interface TestProxy {
    @type: "testProxy";
    dc_id: number;
    port: number;
    server: string;
    timeout: number;
    type: ProxyType;
}

Properties

@type: "testProxy"
dc_id: number

Identifier of a datacenter with which to test connection.

port: number

Proxy server port.

server: string

Proxy server domain or IP address.

timeout: number

The maximum overall timeout for the request.

type: ProxyType

Proxy type.