decryptedMessage

Contents of an encrypted message.

===8===
decryptedMessage#1f814f1f random_id:long random_bytes:bytes message:string media:DecryptedMessageMedia = DecryptedMessage;

===17===
decryptedMessage#204d3878 random_id:long ttl:int message:string media:DecryptedMessageMedia = DecryptedMessage;

===45===
decryptedMessage#36b091de flags:# random_id:long ttl:int message:string media:flags.9?DecryptedMessageMedia entities:flags.7?Vector<MessageEntity> via_bot_name:flags.11?string reply_to_random_id:flags.3?long = DecryptedMessage;

===73===
decryptedMessage#91cc4674 flags:# random_id:long ttl:int message:string media:flags.9?DecryptedMessageMedia entities:flags.7?Vector<MessageEntity> via_bot_name:flags.11?string reply_to_random_id:flags.3?long grouped_id:flags.17?long = DecryptedMessage;

Parameters

random_id long Random message ID, assigned by the author of message.
Must be equal to the ID passed to sending method.
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.
As of Layer 17 this parameter was moved to decryptedMessageLayer.
ttl int Message lifetime. Has higher priority than decryptedMessageActionSetMessageTTL.
Parameter added in Layer 17.
message string Message text
media DecryptedMessageMedia Media content

Type

DecryptedMessage