auth.resetLoginEmail
Reset the login email ».
Reset the [login email »](https://core.telegram.org/api/auth.md#email-verification).
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
phone_number | string | はい | Phone number of the account |
phone_code_hash | string | はい | Phone code hash, obtained as described in the [documentation »](https://core.telegram.org/api/auth.md) |
レスポンス
auth.SentCode
MTProto RPC
- 400 · EMAIL_INSTALL_MISSING — Attempting to send a code to the recovery email, but no email is configured.
- 400 · PHONE_NUMBER_INVALID — The phone number is invalid.
- 400 · TASK_ALREADY_EXISTS — An email reset was already requested.