Interface CheckAuthenticationPasswordRecoveryCode

Checks whether a 2-step verification password recovery code sent to an email address is valid. Works only when the current authorization state is authorizationStateWaitPassword. Request type for Tdjson#checkAuthenticationPasswordRecoveryCode.

interface CheckAuthenticationPasswordRecoveryCode {
    @type: "checkAuthenticationPasswordRecoveryCode";
    recovery_code: string;
}

Properties

Properties

@type: "checkAuthenticationPasswordRecoveryCode"
recovery_code: string

Recovery code to check.