auth.CheckRecoveryPassword¶
- class pyrogram.raw.functions.auth.CheckRecoveryPassword[source]¶
Check if the 2FA recovery code sent using auth.requestPasswordRecovery is valid, before passing it to auth.recoverPassword.
Usable by Users Bots- Details:
Layer:
229ID:
D36BF79
- Parameters:
code (
str) – Code received via email- Returns:
bool