Skip to content

AuthorizationStateWaitPassword

Type · TDLib 1.8.67 · d1085f9c

The user has been authorized, but needs to enter a 2-step verification password to start using the application. Call checkAuthenticationPassword to provide the password, or requestAuthenticationPasswordRecovery to recover the password, or deleteAccount to delete the account after a week

AuthorizationStateWaitPassword(
  password_hint: string,
  has_recovery_email_address: Bool,
  has_passport_data: Bool,
  recovery_email_address_pattern: string
) → AuthorizationState

password_hint

string

Hint for the password; may be empty

has_recovery_email_address

Bool

True, if a recovery email address has been set up

has_passport_data

Bool

True, if some Telegram Passport elements were saved

recovery_email_address_pattern

string

Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent