1.4 KiB
1.4 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 | Yes | 2FA Recovery email | |
secure_salt | bytes | Yes | Secure salt |
secure_secret | bytes | Yes | Secure secret |
secure_secret_id | long | Yes | Secure secret ID |
Type: account.PasswordSettings
Example:
$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => '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}