public static class TdApi.PingProxy extends TdApi.Function<TdApi.Seconds>
Returns Seconds
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
proxyId
Proxy identifier.
|
| Constructor and Description |
|---|
PingProxy()
Default constructor for a function, which computes time needed to receive a response from a Telegram server through a proxy.
|
PingProxy(int proxyId)
Creates a function, which computes time needed to receive a response from a Telegram server through a proxy.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int proxyId
public static final int CONSTRUCTOR
public PingProxy()
Returns Seconds
public PingProxy(int proxyId)
Returns Seconds
proxyId - Proxy identifier. Use 0 to ping a Telegram server without a proxy.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object