- 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
-
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.Returns
Seconds
-
PingProxy
public PingProxy(int proxyId) Computes time needed to receive a response from a Telegram server through a proxy. Can be called before authorization.Returns
Seconds
- Parameters:
proxyId
- int Proxy identifier. Use 0 to ping a Telegram server without a proxy.
-
PingProxy
- 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()
-