1.3 KiB
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
Private info associated to the password info (recovery email, telegram passport info & so on)
Attributes:
Name | Type | Required | Description |
---|---|---|---|
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}