Inherits Function.
Computes time needed to receive a response from a Telegram server through a proxy. Can be called before authorization.
Returns object_ptr<Seconds>.
Public Fields | |
int32 | proxy_id_ |
Proxy identifier. Use 0 to ping a Telegram server without a proxy. | |
Public Types | |
using | ReturnType = object_ptr< seconds > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
pingProxy () | |
pingProxy (int32 proxy_id_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -979681103 |
Identifier uniquely determining a type of the object. | |
pingProxy | ( | ) |
Default constructor for a function, which computes time needed to receive a response from a Telegram server through a proxy. Can be called before authorization.
Returns object_ptr<Seconds>.
Creates a function, which computes time needed to receive a response from a Telegram server through a proxy. Can be called before authorization.
Returns object_ptr<Seconds>.
[in] | proxy_id_ | Proxy identifier. Use 0 to ping a Telegram server without a proxy. |
|
finalvirtual |