auth.CheckRecoveryPassword

class hydrogram.raw.functions.auth.CheckRecoveryPassword[source]

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

Details:
  • Layer: 181

  • ID: D36BF79

Parameters:

code (str) – Code received via email

Returns:

bool