40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
|
---
|
||
|
title: account.passwordSettings
|
||
|
description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on)
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
redirect_from: /API_docs/constructors/account_passwordSettings.html
|
||
|
---
|
||
|
# Constructor: account.passwordSettings
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on)
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [account.PasswordSettings](../types/account.PasswordSettings.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string'];
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
account.passwordSettings={_='account.passwordSettings', email='string'}
|
||
|
|
||
|
```
|
||
|
|
||
|
|