MadelineProtoDocs/old_docs/API_docs_v25/constructors/account_password.md
2019-12-27 17:48:04 +01:00

939 B

title description image
account.password Configuration for two-factor authorization https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: account.password

Back to constructors index

Configuration for two-factor authorization

Attributes:

Name Type Required Description
current_salt bytes Yes Current salt
new_salt bytes Yes New salt
hint string Yes Text hint for the password

Type: account_Password

Example:

$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string'];

Or, if you're into Lua:

account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string'}