MadelineProtoDocs/old_docs/API_docs_v25/constructors/account_password.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 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
current_salt bytes Yes Current salt
new_salt bytes Yes New salt
hint string Yes Hint

Type: account_Password

Example:

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

PWRTelegram json-encoded version:

{"_": "account.password", "current_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "new_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "hint": "string"}

Or, if you're into Lua:

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