Reset the login email ».
Method schema is available as of layer 156. Switch »
Name | Type | Description |
---|---|---|
phone_number | string | Phone number of the account |
phone_code_hash | string | Phone code hash, obtained as described in the documentation » |
Code | Type | Description |
---|---|---|
400 | PHONE_NUMBER_INVALID | The phone number is invalid. |
400 | TASK_ALREADY_EXISTS | An email reset was already requested. |
How to register a user's phone to start using the API.