PasswordRecovery

class pyrogram.raw.types.auth.PasswordRecovery

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

Constructor type of PasswordRecovery.

Details
  • Layer: 126

  • ID: 0x137948a5

Parameters

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

Methods

This object can be returned by 1 method:

auth.RequestPasswordRecovery

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