encryptedMessage #

Encrypted message.

Layer 223

encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage;

Parameters #

NameTypeDescription
random_idlongRandom message ID, assigned by the author of message. See here » for more info on random ID deduplication and updateMessageID mapping.
chat_idintID of encrypted chat
dateintDate of sending
bytesbytesTL-serialization of DecryptedMessage type, encrypted with the key created at chat initialization
fileEncryptedFileAttached encrypted file

Type #

EncryptedMessage

Working with Updates #

How to subscribe to updates and handle them properly.

DecryptedMessage #

Object describes the contents of an encrypted message.