1.6 KiB
1.6 KiB
title | description | image | redirect_from |
---|---|---|---|
account.passwordInputSettings | Settings for setting up a new password | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/account_passwordInputSettings.html |
Constructor: account.passwordInputSettings
Settings for setting up a new password
Attributes:
Name | Type | Required | Description |
---|---|---|---|
new_algo | PasswordKdfAlgo | Optional | The SRP algorithm to use |
new_password_hash | bytes | Optional | The computed password hash |
hint | string | Optional | Text hint for the password |
string | Optional | Password recovery email | |
new_secure_settings | SecureSecretSettings | Optional | Telegram passport settings |
Type: account.PasswordInputSettings
Example:
$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings];
Or, if you're into Lua:
account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings}