--- title: account.passwordSettings description: account_passwordSettings attributes, type and example image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: account.passwordSettings [Back to constructors index](index.md) ### Attributes: | Name | Type | Required | |----------|---------------|----------| |email|[string](../types/string.md) | Yes| |secure\_salt|[bytes](../types/bytes.md) | Yes| |secure\_secret|[bytes](../types/bytes.md) | Yes| |secure\_secret\_id|[long](../types/long.md) | Yes| ### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) ### Example: ``` $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` {"_": "account.passwordSettings", "email": "string", "secure_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secure_secret": {"_": "bytes", "bytes":"base64 encoded 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} ```