MadelineProtoDocs/docs/MTProto_docs/constructors/future_salts.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

978 B

title description image
future_salts Future salts https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: future_salts

Back to constructors index

Future salts

Attributes:

Name Type Required Description
req_msg_id long Yes Req msg ID
now int Yes Now
salts Array of future_salt Yes Salts

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}}