Package org.drinkless.tdlib
Class TdApi.GetProxyLink
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.intproxyIdProxy identifier.
-
Constructor Summary
Constructors Constructor Description GetProxyLink()Default constructor for a function, which returns an HTTPS link, which can be used to add a proxy.GetProxyLink(int proxyId)Creates a function, which returns an HTTPS link, which can be used to add a proxy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-