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: 158

  • 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.