auth.CheckRecoveryPassword#

class pyrogram.raw.functions.auth.CheckRecoveryPassword#

Check if the 2FA recovery code sent using auth.requestPasswordRecovery is valid, before passing it to auth.recoverPassword.

Details:
  • Layer: 158

  • ID: D36BF79

Parameters:

code (str) – Code received via email.

Returns:

bool