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).
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
code | string | Ja | Code received via email |
new_settings | account.PasswordInputSettings | Nein | New password |
Antworten
auth.Authorization
MTProto RPC
- 400 · CODE_EMPTY – Der bereitgestellte Code ist leer.
- 400 · NEW_SETTINGS_INVALID – Die neuen Passworteinstellungen sind ungültig.