account.getPasswordSettings

Get private info associated to the password info (recovery email, telegram passport info & so on)

 Method schema is available as of layer 84. Switch ยป

Parameters

Name Type Description
password InputCheckPasswordSRP The password (see SRP)

Result

account.PasswordSettings

Possible errors

Code Type Description
400 PASSWORD_HASH_INVALID The provided password hash is invalid.

Related pages

Two-factor authentication

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

Telegram Passport Manual