Interface RecoverAuthenticationPassword

Recovers the 2-step verification password with a password recovery code sent to an email address that was previously set up. Works only when the current authorization state is authorizationStateWaitPassword. Request type for Tdjson#recoverAuthenticationPassword.

interface RecoverAuthenticationPassword {
    @type: "recoverAuthenticationPassword";
    new_hint: string;
    new_password: string;
    recovery_code: string;
}

Properties

@type: "recoverAuthenticationPassword"
new_hint: string

New password hint; may be empty.

new_password: string

New 2-step verification password of the user; may be empty to remove the password.

recovery_code: string

Recovery code to check.