RecoverPassword

class pyrogram.raw.functions.auth.RecoverPassword

Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery.

Details
  • Layer: 122

  • ID: 0x4ea56e92

Parameters

code (str) – Code received via email.

Returns

auth.Authorization – Oject contains info on user authorization.