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

1.4 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
has_recovery Bool Yes Has recovery?
email_unconfirmed_pattern string Yes Email unconfirmed pattern

Type: account_Password

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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