1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-03 00:47:46 +01:00
MadelineProto/old_docs/API_docs_v72/constructors/future_salt.md
2017-11-15 12:41:58 +00: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}