1.7 KiB
1.7 KiB
title | description | image |
---|---|---|
account.passwordInputSettings | Settings for setting up a new password | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: account.passwordInputSettings
Settings for setting up a new password
Attributes:
Name | Type | Required | Description |
---|---|---|---|
new_salt | bytes | Optional | $new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8); |
new_password_hash | bytes | Optional | The computed password hash |
hint | string | Optional | Text hint for the password |
string | Optional | Password recovery email | |
new_secure_salt | bytes | Optional | New secure salt |
new_secure_secret | bytes | Optional | New secure secret |
new_secure_secret_id | long | Optional | New secure secret ID |
Type: account.PasswordInputSettings
Example:
$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_salt' => 'bytes', 'new_secure_secret' => 'bytes', 'new_secure_secret_id' => long];
Or, if you're into Lua:
account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string', new_secure_salt='bytes', new_secure_secret='bytes', new_secure_secret_id=long}