Package org.drinkless.tdlib
Class TdApi.AddedProxy
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AddedProxy
- Enclosing class:
TdApi
Contains information about a proxy server added to the list of proxies.
-
Field Summary
FieldsModifier and TypeFieldDescriptionComment for the proxy added by the user.static final intIdentifier uniquely determining type of the object.intUnique identifier of the proxy.booleanTrue, if the proxy is enabled now.intPoint in time (Unix timestamp) when the proxy was last used; 0 if never.The proxy. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about a proxy server added to the list of proxies.AddedProxy(int id, int lastUsedDate, boolean isEnabled, String comment, TdApi.Proxy proxy) Contains information about a proxy server added to the list of proxies. -
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
-
id
public int idUnique identifier of the proxy. -
lastUsedDate
public int lastUsedDatePoint in time (Unix timestamp) when the proxy was last used; 0 if never. -
isEnabled
public boolean isEnabledTrue, if the proxy is enabled now. -
comment
Comment for the proxy added by the user. -
proxy
The proxy. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AddedProxy
public AddedProxy()Contains information about a proxy server added to the list of proxies. -
AddedProxy
Contains information about a proxy server added to the list of proxies.- Parameters:
id- Unique identifier of the proxy.lastUsedDate- Point in time (Unix timestamp) when the proxy was last used; 0 if never.isEnabled- True, if the proxy is enabled now.comment- Comment for the proxy added by the user.proxy- 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
-