EncryptedMessageService

class pyrogram.raw.types.EncryptedMessageService

Encrypted service message

Constructor of EncryptedMessage.

Details:
  • Layer: 223

  • ID: 23734B06

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 the DecryptedMessage type, encrypted with the key created at chat initialization

TL Schema

encryptedMessageService#23734b06
random_id:long
chat_id:int
date:int
bytes:bytes

= EncryptedMessage

Parameter Tree

EncryptedMessageService
├── random_idlong
├── chat_idint
├── dateint
└── bytesbytes

Example

EncryptedMessageService(
    random_id=app.rnd_id(),
    chat_id=0,
    date=0,
    bytes=b"data",
)