Class TdApi.GetProxyLink

Enclosing class:
TdApi

public static class TdApi.GetProxyLink
extends TdApi.Function
Returns an HTTPS link, which can be used to add a proxy. Available only for SOCKS5 and MTProto proxies. Can be called before authorization.

Returns HttpUrl

  • Field Details

    • proxyId

      public int proxyId
      Proxy identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • GetProxyLink

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

      Returns HttpUrl

    • GetProxyLink

      public GetProxyLink​(int proxyId)
      Returns an HTTPS link, which can be used to add a proxy. Available only for SOCKS5 and MTProto proxies. Can be called before authorization.

      Returns HttpUrl

      Parameters:
      proxyId - int Proxy identifier.
    • GetProxyLink

      public GetProxyLink​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details