EncryptedMessage#

class pyrogram.raw.types.EncryptedMessage#

Encrypted message.

Constructor of EncryptedMessage.

Details:
  • Layer: 158

  • ID: ED18C118

Parameters:
  • random_id (int 64-bit) – Random message ID, assigned by the author of message.

  • chat_id (int 32-bit) – ID of encrypted chat.

  • date (int 32-bit) – Date of sending.

  • bytes (bytes) – TL-serialization of DecryptedMessage type, encrypted with the key created at chat initialization.

  • file (EncryptedFile) – Attached encrypted file.