ping_proxy

Function ping_proxy 

Source
pub async fn ping_proxy(proxy_id: i32, client_id: i32) -> Result<Seconds, Error>
Expand description

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

ยงArguments

  • proxy_id - Proxy identifier. Use 0 to ping a Telegram server without a proxy
  • client_id - The client id to send the request to