auth.RecoverPassword#
- class pyrogram.raw.functions.auth.RecoverPassword#
Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery.
- Details:
Layer:
158
ID:
37096C70
- Parameters:
code (
str
) – Code received via email.new_settings (
account.PasswordInputSettings
, optional) – New password.
- Returns: