decryptedMessageService #

Contents of an encrypted service message.

Layer 223

===8===
decryptedMessageService#aa48327d random_id:long random_bytes:bytes action:DecryptedMessageAction = DecryptedMessage;

===17===
decryptedMessageService#73164160 random_id:long action:DecryptedMessageAction = DecryptedMessage;

Parameters #

NameTypeDescription
random_idlongRandom message ID, assigned by the message author.
Must be equal to the ID passed to the sending method. See here » for more info on random ID deduplication and updateMessageID mapping.
random_bytesbytesRandom bytes, removed in Layer 17.
actionDecryptedMessageActionAction relevant to the service message

Type #

DecryptedMessage

Working with Updates #

How to subscribe to updates and handle them properly.