auth.recoverPassword
Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery.
Reset the [2FA password](https://core.telegram.org/api/srp.md) using the recovery code sent using [auth.requestPasswordRecovery](https://core.telegram.org/method/auth.requestPasswordRecovery.md).
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
code | string | أيوه | Code received via email |
new_settings | account.PasswordInputSettings | لأ | New password |
الردود
auth.Authorization
MTProto RPC
- 400 · CODE_EMPTY — The provided code is empty.
- 400 · NEW_SETTINGS_INVALID — The new password settings are invalid.