Interface PingProxy

Computes the time needed to receive a response from a Telegram server through a proxy. Can be called before authorization. Request type for Tdjson#pingProxy.

interface PingProxy {
    @type: "pingProxy";
    proxy: Proxy;
}

Properties

Properties

@type: "pingProxy"
proxy: Proxy

The proxy to test; pass null to ping a Telegram server without a proxy.