public static class TdApi.PingProxy extends TdApi.Function
Returns Seconds
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function