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}