View Source ExTDLib.Object.PasswordState (ExTDLib v0.0.4)

Represents the current state of 2-step verification.

NameTypeDescription
has_passwordboolTrue, if a 2-step verification password is set.
password_hintstringHint for the password; may be empty.
has_recovery_email_addressboolTrue, if a recovery email is set.
has_passport_databoolTrue, if some Telegram Passport elements were saved.
recovery_email_address_code_infoemailAddressAuthenticationCodeInfoInformation about the recovery email address to which the confirmation email was sent; may be null.
login_email_address_patternstringPattern of the email address set up for logging in.
pending_reset_datenumberIf 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.