Package it.tdlight.jni
Class TdApi.GetProxyLink
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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 Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
proxyId
Proxy identifier. -
Constructor Summary
Constructors Constructor Description GetProxyLink()
Returns an HTTPS link, which can be used to add a proxy.GetProxyLink(int proxyId)
Returns an HTTPS link, which can be used to add a proxy.GetProxyLink(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
proxyId
public int proxyIdProxy 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
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-