check_password()

Client.check_password()

Check your Two-Step Verification password and log in.

Parameters

password (str) – Your Two-Step Verification password.

Returns

User – On success, the authorized user is returned.

Raises

BadRequest – In case the password is invalid.