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:
223ID:
D36BF79
- Parameters:
code (
str) – Code received via email- Returns:
bool
TL Schema
auth.checkRecoveryPassword#d36bf79
code:string
= Bool
Parameter Tree
CheckRecoveryPassword
└── code →
stringExample
await app.invoke(
CheckRecoveryPassword(
code="text",
)
)