Skip to main content

encryptedMessage

Encrypted message.

type tg.EncryptedMessage struct { /* ... */ }

Implements EncryptedMessage.

Fields

NameTypeRequiredDescription
RandomIDint64yesRandom message ID, assigned by the author of message
ChatIDintyesID of encrypted chat
DateintyesDate of sending
Bytes[]byteyesTL-serialization of DecryptedMessage type, encrypted with the key created at chat initialization
FileEncryptedFileClassyesAttached encrypted file

References