Link Search Menu Expand Document

Constructor: decryptedMessageLayer_17

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
layerintYesLayer number. Mimimal value - 17 (the layer in which the constructor was added).
in_seq_nointYes2x 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_nointYes2x 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.
messageDecryptedMessageYesThe content of message itself

Type: DecryptedMessageLayer

Example:

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