account.getPasswordSettings #

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

Layer 223

account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings;
---functions---
account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings;

Parameters #

NameTypeDescription
passwordInputCheckPasswordSRPThe password (see SRP)

Result #

account.PasswordSettings

Only users can use this method #

Possible errors #

CodeTypeDescription
400PASSWORD_HASH_INVALIDThe provided password hash is invalid.

Two-factor authentication #

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

Telegram Passport Manual #

Telegram Passport, a unified authorization method for services that require personal identification.