1.6 KiB
1.6 KiB
title | description | image |
---|---|---|
decryptedMessageLayer | Sets the layer number for the contents of an encrypted message. | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: decryptedMessageLayer_17
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}