Inherits Function.
Checks a web token to log in to the corresponding account; for official Telegram apps only. Works only when the current authorization state is authorizationStateWaitPhoneNumber or authorizationStateWaitOtherDeviceConfirmation.
Returns object_ptr<Ok>.
|
|
using | ReturnType = object_ptr< ok > |
| | Typedef for the type returned by the function.
|
| |
|
|
int32 | dc_id_ |
| | Identifier of the datacenter of the user.
|
| |
|
string | token_ |
| | The token to check.
|
| |
|
|
static const std::int32_t | ID = -1957846722 |
| | Identifier uniquely determining a type of the object.
|
| |
◆ checkAuthenticationWebToken() [1/2]
◆ checkAuthenticationWebToken() [2/2]
◆ store()
| void store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements TlObject.
The documentation for this class was generated from the following file: