Inherits td::td_api::AuthorizationState.
|
bool | allow_apple_id_ |
| True, if authorization through Apple ID is allowed.
|
|
bool | allow_google_id_ |
| True, if authorization through Google ID is allowed.
|
|
object_ptr< emailAddressAuthenticationCodeInfo > | code_info_ |
| Information about the sent authentication code.
|
|
object_ptr< EmailAddressResetState > | email_address_reset_state_ |
| Reset state of the email address; may be null if the email address can't be reset.
|
|
|
static const std::int32_t | ID = -1868627365 |
| Identifier uniquely determining a type of the object.
|
|
TDLib needs the user's authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code.
◆ authorizationStateWaitEmailCode() [1/2]
td::td_api::authorizationStateWaitEmailCode::authorizationStateWaitEmailCode |
( |
| ) |
|
◆ authorizationStateWaitEmailCode() [2/2]
TDLib needs the user's authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code.
- Parameters
-
[in] | allow_apple_id_ | True, if authorization through Apple ID is allowed. |
[in] | allow_google_id_ | True, if authorization through Google ID is allowed. |
[in] | code_info_ | Information about the sent authentication code. |
[in] | email_address_reset_state_ | Reset state of the email address; may be null if the email address can't be reset. |
◆ get_id()
std::int32_t td::td_api::authorizationStateWaitEmailCode::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::authorizationStateWaitEmailCode::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 td::TlObject.
The documentation for this class was generated from the following file: