MadelineProtoDocs/old_docs/API_docs_v65/constructors/future_salts.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

941 B

title description image
future_salts future_salts attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: future_salts

Back to constructors index

Attributes:

Name Type Required
req_msg_id long Yes
now int Yes
salts Array of future_salt Yes

Type: FutureSalts

Example:

$future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt, future_salt]];

PWRTelegram json-encoded version:

{"_": "future_salts", "req_msg_id": long, "now": int, "salts": [future_salt]}

Or, if you're into Lua:

future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}}