Package org.drinkless.tdlib
Class TdApi.InternalLinkTypeProxy
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InternalLinkType
-
- org.drinkless.tdlib.TdApi.InternalLinkTypeProxy
-
- Enclosing class:
- TdApi
public static class TdApi.InternalLinkTypeProxy extends TdApi.InternalLinkType
The link is a link to a proxy. Call addProxy with the given parameters to process the link and add the proxy.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.intportProxy server port.StringserverProxy server IP address.TdApi.ProxyTypetypeType of the proxy.
-
Constructor Summary
Constructors Constructor Description InternalLinkTypeProxy()The link is a link to a proxy.InternalLinkTypeProxy(String server, int port, TdApi.ProxyType type)The link is a link to a proxy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
server
public String server
Proxy server IP address.
-
port
public int port
Proxy server port.
-
type
public TdApi.ProxyType type
Type of the proxy.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InternalLinkTypeProxy
public InternalLinkTypeProxy()
The link is a link to a proxy. Call addProxy with the given parameters to process the link and add the proxy.
-
InternalLinkTypeProxy
public InternalLinkTypeProxy(String server, int port, TdApi.ProxyType type)
The link is a link to a proxy. Call addProxy with the given parameters to process the link and add the proxy.- Parameters:
server- Proxy server IP address.port- Proxy server port.type- Type of the proxy.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-