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

1.2 KiB

title description image
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

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}