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

1.3 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 Optional 2FA Recovery email
secure_settings SecureSecretSettings Optional Telegram passport settings

Type: account.PasswordSettings

Example:

$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings];

Or, if you're into Lua:

account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings}