Constructor: decryptedMessageLayer_17

Back to constructors index

Sets the layer number for the contents of an encrypted message.

Attributes:

Name Type Required Description
layer int Yes Layer number. Mimimal value - 17 (the layer in which the constructor was added).
in_seq_no int Yes 2x the number of messages in the sender’s inbox (including deleted and service messages), incremented by 1 if current user was not the chat creator
Parameter added in Layer 17.
out_seq_no int Yes 2x the number of messages in the recipient’s inbox (including deleted and service messages), incremented by 1 if current user was the chat creator
Parameter added in Layer 17.
message DecryptedMessage Yes The content of message itself

Type: DecryptedMessageLayer

Example:

$decryptedMessageLayer_17 = ['_' => 'decryptedMessageLayer', 'layer' => int, 'in_seq_no' => int, 'out_seq_no' => int, 'message' => DecryptedMessage];

Or, if you’re into Lua:

decryptedMessageLayer_17={_='decryptedMessageLayer', layer=int, in_seq_no=int, out_seq_no=int, message=DecryptedMessage}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.