auth.PasswordRecovery

class pyrogram.raw.types.auth.PasswordRecovery

Recovery info of a 2FA password, only for accounts with a recovery email configured.

Constructor of PasswordRecovery.

Details:
  • Layer: 223

  • ID: 137948A5

Parameters:

email_pattern (str) – The email to which the recovery code was sent must match this pattern.

Functions:

This object can be returned by 1 function.

auth.RequestPasswordRecovery

Request recovery code of a 2FA password, only for accounts with a recovery email configured.

TL Schema

auth.passwordRecovery#137948a5
email_pattern:string

= auth.PasswordRecovery

Parameter Tree

PasswordRecovery
└── email_patternstring

Example

PasswordRecovery(
    email_pattern="text",
)