1.3 KiB
1.3 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 |
Type: account.PasswordInputSettings
Example:
$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string'];
Or, if you're into Lua:
account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'}