Inherits AuthorizationState.
The user has been authorized, but needs to enter a 2-step verification password to start using the application. Call checkAuthenticationPassword to provide the password, or requestAuthenticationPasswordRecovery to recover the password, or deleteAccount to delete the account after a week.
|
|
bool | has_passport_data_ |
| | True, if some Telegram Passport elements were saved.
|
|
bool | has_recovery_email_address_ |
| | True, if a recovery email address has been set up.
|
|
string | password_hint_ |
| | Hint for the password; may be empty.
|
|
string | recovery_email_address_pattern_ |
| | Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent.
|
|
|
static const std::int32_t | ID = 112238030 |
| | Identifier uniquely determining a type of the object.
|
◆ authorizationStateWaitPassword() [1/2]
| authorizationStateWaitPassword |
( |
| ) |
|
◆ authorizationStateWaitPassword() [2/2]
| authorizationStateWaitPassword |
( |
string const & | password_hint_, |
|
|
bool | has_recovery_email_address_, |
|
|
bool | has_passport_data_, |
|
|
string const & | recovery_email_address_pattern_ ) |
The user has been authorized, but needs to enter a 2-step verification password to start using the application. Call checkAuthenticationPassword to provide the password, or requestAuthenticationPasswordRecovery to recover the password, or deleteAccount to delete the account after a week.
- Parameters
-
| [in] | password_hint_ | Hint for the password; may be empty. |
| [in] | has_recovery_email_address_ | True, if a recovery email address has been set up. |
| [in] | has_passport_data_ | True, if some Telegram Passport elements were saved. |
| [in] | recovery_email_address_pattern_ | Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent. |
◆ 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: