auth.CheckPassword

class pyrogram.raw.functions.auth.CheckPassword

Try logging to an account protected by a 2FA password.

Details:
  • Layer: 223

  • ID: D18B4D16

Parameters:

password (InputCheckPasswordSRP) – The account’s password (see SRP)

Returns:

auth.Authorization

TL Schema

auth.checkPassword#d18b4d16
password:InputCheckPasswordSRP

= auth.Authorization

Parameter Tree

CheckPassword
└── passwordInputCheckPasswordSRP
├── srp_idlong
├── Abytes
└── M1bytes

Example

await app.invoke(
    CheckPassword(
        password=InputCheckPasswordEmpty(),
    )
)