Interface RecoverPassword

Recovers the 2-step verification password using a recovery code sent to an email address that was previously set up. Request type for Tdjson#recoverPassword.

interface RecoverPassword {
    @type: "recoverPassword";
    new_hint: string;
    new_password: string;
    recovery_code: string;
}

Properties

@type: "recoverPassword"
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.