1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 10:38:59 +01:00
MadelineProto/old_docs/API_docs_v66/constructors/future_salt.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +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}