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

983 B

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

Constructor: account.tmpPassword

Back to constructors index

Tmp password

Attributes:

Name Type Required Description
tmp_password bytes Yes Tmp password
valid_until int Yes Valid until

Type: account_TmpPassword

Example:

$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int];

PWRTelegram json-encoded version:

{"_": "account.tmpPassword", "tmp_password": {"_": "bytes", "bytes":"base64 encoded bytes"}, "valid_until": int}

Or, if you're into Lua:

account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int}