Package org.drinkless.tdlib
Class TdApi.Proxy
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Proxy
- Enclosing class:
TdApi
Describes a proxy server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intProxy server port.Proxy server domain or IP address.Type of the proxy. -
Constructor Summary
ConstructorsConstructorDescriptionProxy()Describes a proxy server.Proxy(String server, int port, TdApi.ProxyType type) Describes a proxy server. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
server
Proxy server domain or IP address. -
port
public int portProxy server port. -
type
Type of the proxy. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
Proxy
public Proxy()Describes a proxy server. -
Proxy
Describes a proxy server.- Parameters:
server- Proxy server domain or IP address.port- Proxy server port.type- Type of the proxy.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-