reset_login_email()¶
- async Client.reset_login_email()¶
Reset the login email.
Usable by Users Bots- Parameters:
phone_number (
str) – Phone number of the account.phone_code_hash (
str) – Phone code hash obtained from send_code.
- Returns:
SentCode– Sent code status object.
Example
sent_code = await app.reset_login_email("+1234567890", code_hash)