Module tdlight.api

Class TdApi.GetProxyLink

Enclosing class:
TdApi

public static final class TdApi.GetProxyLink extends TdApi.Function<TdApi.HttpUrl>
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:
  • 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
      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

      Throws:
      IOException
  • Method Details