Function get_proxy_link

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

Returns an HTTPS link, which can be used to add a proxy. Available only for SOCKS5 and MTProto proxies. Can be called before authorization

ยงArguments

  • proxy_id - Proxy identifier
  • client_id - The client id to send the request to