Skip to content

pingProxy

Function · TDLib 1.8.67 · d1085f9c

Computes time needed to receive a response from a Telegram server through a proxy. Can be called before authorization

pingProxy(
  proxy: Proxy
) → Seconds

proxy

Proxy

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