TDLib v0.0.2 TDLib.Object.PasswordState View Source

Represents the current state of 2-step verification.

NameTypeDescription
has_passwordboolTrue if a 2-step verification password has been set up.
password_hintstringHint for the password; can be empty.
has_recovery_email_addressboolTrue if a recovery email has been set up.
unconfirmed_recovery_email_address_patternstringPattern of the email address to which a confirmation email was sent.

More details on telegram’s documentation.