auth.ResetLoginEmail

class pyrogram.raw.functions.auth.ResetLoginEmail

Reset the login email ».

Details:
  • Layer: 223

  • 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

TL Schema

auth.resetLoginEmail#7e960193
phone_number:string
phone_code_hash:string

= auth.SentCode

Parameter Tree

ResetLoginEmail
├── phone_numberstring
└── phone_code_hashstring

Example

await app.invoke(
    ResetLoginEmail(
        phone_number="text",
        phone_code_hash="text",
    )
)