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;
    proxy: Proxy;
    timeout: number;
}

Properties

@type: "testProxy"
dc_id: number

Identifier of a datacenter with which to test connection.

proxy: Proxy

The proxy to test.

timeout: number

The maximum overall timeout for the request.