InputCheckPasswordSRP#

class pyrogram.raw.base.InputCheckPasswordSRP#

Constructors for checking the validity of a 2FA SRP password. See here for more info on the 2FA authentication flow for methods that require it, before and after login.

How to login to a user’s account if they have enabled 2FA, how to change password.

Constructors:

This base type has 2 constructors available.

InputCheckPasswordEmpty

There is no password

InputCheckPasswordSRP

Constructor for checking the validity of a 2FA SRP password (see SRP)