1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 14:34:39 +01:00
MadelineProto/old_docs/API_docs_v66/constructors/future_salt.md
2017-07-23 16:33:46 +02:00

814 B

title description
future_salt future_salt attributes, type and example

Constructor: future_salt

Back to constructors index

Attributes:

Name Type Required
valid_since int Yes
valid_until int Yes
salt long Yes

Type: FutureSalt

Example:

$future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long];

PWRTelegram json-encoded version:

{"_": "future_salt", "valid_since": int, "valid_until": int, "salt": long}

Or, if you're into Lua:

future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long}