Sets the layer number for the contents of an encrypted message.
===17===
decryptedMessageLayer#1be31789 random_bytes:bytes layer:int in_seq_no:int out_seq_no:int message:DecryptedMessage = DecryptedMessageLayer;
Name | Type | Description |
---|---|---|
random_bytes | bytes | Set of random bytes to prevent content recognition in short encrypted messages. Clients are required to check that there are at least 15 random bytes included in each message. Messages with less than 15 random bytes must be ignored. Parameter moved here from decryptedMessage in Layer 17. |
layer | int | Layer number. Mimimal value - 17 (the layer in which the constructor was added). |
in_seq_no | int | 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 | 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 | The content of message itself |
Contents of an encrypted message.