Interface AuthorizationStateWaitPassword

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. Subtype of AuthorizationState.

interface AuthorizationStateWaitPassword {
    @type: "authorizationStateWaitPassword";
    has_passport_data?: boolean;
    has_recovery_email_address?: boolean;
    password_hint: string;
    recovery_email_address_pattern: string;
}

Properties

@type: "authorizationStateWaitPassword"
has_passport_data?: boolean

True, if some Telegram Passport elements were saved.

has_recovery_email_address?: boolean

True, if a recovery email address has been set up.

password_hint: string

Hint for the password; may be empty.

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.