account.ResetPasswordResult#

class pyrogram.raw.base.account.ResetPasswordResult#

Result of an account.resetPassword request.

Constructors:

This base type has 3 constructors available.

account.ResetPasswordFailedWait

You recently requested a password reset that was canceled, please wait until the specified date before requesting another reset.

account.ResetPasswordOk

The 2FA password was reset successfully.

account.ResetPasswordRequestedWait

You successfully requested a password reset, please wait until the specified date before finalizing the reset.

Functions:

This object can be returned by 1 function.

account.ResetPassword

Initiate a 2FA password reset: can only be used if the user is already logged-in.