View Source ExTDLib.Object.PasswordState (ExTDLib v0.0.4)
Represents the current state of 2-step verification.
| Name | Type | Description |
|---|---|---|
| has_password | bool | True, if a 2-step verification password is set. |
| password_hint | string | Hint for the password; may be empty. |
| has_recovery_email_address | bool | True, if a recovery email is set. |
| has_passport_data | bool | True, if some Telegram Passport elements were saved. |
| recovery_email_address_code_info | emailAddressAuthenticationCodeInfo | Information about the recovery email address to which the confirmation email was sent; may be null. |
| login_email_address_pattern | string | Pattern of the email address set up for logging in. |
| pending_reset_date | number | If not 0, point in time (Unix timestamp) after which the 2-step verification password can be reset immediately using resetPassword. |
More details on telegram's documentation.