auth.resetLoginEmail

Reset the login email ».

 Method schema is available as of layer 156. Switch »

Parameters

Name Type Description
phone_number string Phone number of the account
phone_code_hash string Phone code hash, obtained as described in the documentation »

Result

auth.SentCode

Possible errors

Code Type Description
400 PHONE_NUMBER_INVALID The phone number is invalid.
400 TASK_ALREADY_EXISTS An email reset was already requested.

Related pages

User Authorization

How to register a user's phone to start using the API.