- Enclosing class:
- TdApi
Computes time needed to receive a
response from a Telegram server through
a proxy. Can be called before authorization.
Returns
Seconds
-
Field Summary
-
Constructor Summary
ConstructorDescriptionComputes time needed to receive a response from a Telegram server through a proxy.PingProxy
(int proxyId) Computes time needed to receive a response from a Telegram server through a proxy.Computes time needed to receive a response from a Telegram server through a proxy. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
proxyId
public int proxyIdProxy identifier. Use 0 to ping a Telegram server without a proxy. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
PingProxy
public PingProxy()Computes time needed to receive a response from a Telegram server through a proxy. Can be called before authorization. ReturnsSeconds
-
PingProxy
public PingProxy(int proxyId) Computes time needed to receive a response from a Telegram server through a proxy. Can be called before authorization. ReturnsSeconds
- Parameters:
proxyId
- int Proxy identifier. Use 0 to ping a Telegram server without a proxy.
-
PingProxy
Computes time needed to receive a response from a Telegram server through a proxy. Can be called before authorization. ReturnsSeconds
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-