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 Detail

      • proxyId

        public int proxyId
        Proxy identifier.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetProxyLink

        public GetProxyLink()
        Default constructor for a function, which 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)
        Creates a function, which 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 - Proxy identifier.