auth.ResetLoginEmail#

class pyrogram.raw.functions.auth.ResetLoginEmail#

Reset the login email.

Usable by Users Bots

Note

This method may be used by not yet logged in connections.

Details:
  • Layer: 224

  • ID: 7E960193

Parameters:
  • phone_number (str) – Phone number of the account

  • phone_code_hash (str) – Phone code hash, obtained as described in the documentation »

Returns:

auth.SentCode