MadelineProtoDocs/docs/API_docs/constructors/account_tmpPassword.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

952 B

title description image
account.tmpPassword account_tmpPassword attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: account.tmpPassword

Back to constructors index

Attributes:

Name Type Required
tmp_password bytes Yes
valid_until int Yes

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}