#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 483801128 |
| | Identifier uniquely determining a type of the object.
|
| |
Represents the current state of 2-step verification.
Definition at line 50963 of file td_api.h.
◆ passwordState() [1/2]
| td::td_api::passwordState::passwordState |
( |
| ) |
|
Represents the current state of 2-step verification.
◆ passwordState() [2/2]
| td::td_api::passwordState::passwordState |
( |
bool |
has_password_, |
|
|
string const & |
password_hint_, |
|
|
bool |
has_recovery_email_address_, |
|
|
bool |
has_passport_data_, |
|
|
object_ptr< emailAddressAuthenticationCodeInfo > && |
recovery_email_address_code_info_, |
|
|
string const & |
login_email_address_pattern_, |
|
|
int32 |
pending_reset_date_ |
|
) |
| |
Represents the current state of 2-step verification.
- Parameters
-
| [in] | has_password_ | True, if a 2-step verification password is set. |
| [in] | password_hint_ | Hint for the password; may be empty. |
| [in] | has_recovery_email_address_ | True, if a recovery email is set. |
| [in] | has_passport_data_ | True, if some Telegram Passport elements were saved. |
| [in] | recovery_email_address_code_info_ | Information about the recovery email address to which the confirmation email was sent; may be null. |
| [in] | login_email_address_pattern_ | Pattern of the email address set up for logging in. |
| [in] | pending_reset_date_ | If not 0, point in time (Unix timestamp) after which the 2-step verification password can be reset immediately using resetPassword. |
◆ store()
| void td::td_api::passwordState::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.
◆ has_passport_data_
| bool td::td_api::passwordState::has_passport_data_ |
True, if some Telegram Passport elements were saved.
Definition at line 50980 of file td_api.h.
◆ has_password_
| bool td::td_api::passwordState::has_password_ |
True, if a 2-step verification password is set.
Definition at line 50974 of file td_api.h.
◆ has_recovery_email_address_
| bool td::td_api::passwordState::has_recovery_email_address_ |
True, if a recovery email is set.
Definition at line 50978 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::passwordState::ID = 483801128 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 51007 of file td_api.h.
◆ login_email_address_pattern_
| string td::td_api::passwordState::login_email_address_pattern_ |
Pattern of the email address set up for logging in.
Definition at line 50984 of file td_api.h.
◆ password_hint_
| string td::td_api::passwordState::password_hint_ |
Hint for the password; may be empty.
Definition at line 50976 of file td_api.h.
◆ pending_reset_date_
| int32 td::td_api::passwordState::pending_reset_date_ |
If not 0, point in time (Unix timestamp) after which the 2-step verification password can be reset immediately using resetPassword.
Definition at line 50986 of file td_api.h.
◆ recovery_email_address_code_info_
Information about the recovery email address to which the confirmation email was sent; may be null.
Definition at line 50982 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h