MadelineProtoDocs/old_docs/API_docs_v82/constructors/account_password.md

1.5 KiB

title description image
account.password Password https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: account.password

Back to constructors index

Password

Attributes:

Name Type Required Description
has_recovery Bool Optional Has recovery?
has_secure_values Bool Optional Has secure values?
current_salt bytes Yes Current salt
new_salt bytes Yes New salt
new_secure_salt bytes Yes New secure salt
secure_random bytes Yes Secure random
hint string Yes Hint
email_unconfirmed_pattern string Yes Email unconfirmed pattern

Type: account_Password

Example:

$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'hint' => 'string', 'email_unconfirmed_pattern' => 'string'];

Or, if you're into Lua:

account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, current_salt='bytes', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', hint='string', email_unconfirmed_pattern='string'}