auth.checkRecoveryPassword
Check if the 2FA recovery code sent using auth.requestPasswordRecovery is valid, before passing it to auth.recoverPassword.
Check if the [2FA recovery code](https://core.telegram.org/api/srp.md) sent using [auth.requestPasswordRecovery](https://core.telegram.org/method/auth.requestPasswordRecovery.md) is valid, before passing it to [auth.recoverPassword](https://core.telegram.org/method/auth.recoverPassword.md).
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | Code received via email |
Replies
Bool
MTProto RPC
- 400 · CODE_EMPTY — The provided code is empty.
- 400 · PASSWORD_RECOVERY_EXPIRED — The recovery code has expired.