public static class TdApi.Proxy extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
id
Unique identifier of the proxy.
|
boolean |
isEnabled
True, if the proxy is enabled now.
|
int |
lastUsedDate
Point in time (Unix timestamp) when the proxy was last used; 0 if never.
|
int |
port
Proxy server port.
|
java.lang.String |
server
Proxy server IP address.
|
TdApi.ProxyType |
type
Type of the proxy.
|
Constructor and Description |
---|
Proxy()
Contains information about a proxy server.
|
Proxy(int id,
java.lang.String server,
int port,
int lastUsedDate,
boolean isEnabled,
TdApi.ProxyType type)
Contains information about a proxy server.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int id
public java.lang.String server
public int port
public int lastUsedDate
public boolean isEnabled
public TdApi.ProxyType type
public static final int CONSTRUCTOR
public Proxy()
public Proxy(int id, java.lang.String server, int port, int lastUsedDate, boolean isEnabled, TdApi.ProxyType type)
id
- Unique identifier of the proxy.server
- Proxy server IP address.port
- Proxy server port.lastUsedDate
- Point in time (Unix timestamp) when the proxy was last used; 0 if never.isEnabled
- True, if the proxy is enabled now.type
- Type of the proxy.public int getConstructor()
getConstructor
in class TdApi.Object