MadelineProtoDocs/old_docs/API_docs_v82/constructors/account.passwordSettings.md
2019-12-27 18:46:25 +01:00

1.4 KiB

title description image redirect_from
account.passwordSettings Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/account_passwordSettings.html

Constructor: account.passwordSettings

Back to constructors index

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

Attributes:

Name Type Required Description
email string Yes 2FA Recovery email
secure_salt bytes Yes Secure salt
secure_secret bytes Yes Secure secret
secure_secret_id long Yes Secure secret ID

Type: account.PasswordSettings

Example:

$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long];

Or, if you're into Lua:

account.passwordSettings={_='account.passwordSettings', email='string', secure_salt='bytes', secure_secret='bytes', secure_secret_id=long}