1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 22:47:22 +01:00
MadelineProto/old_docs/API_docs_v70/constructors/future_salt.md

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}