EncryptedMessageService
- class pyrogram.raw.types.EncryptedMessageService
Encrypted service message
Constructor of
EncryptedMessage.- Details:
Layer:
223ID:
23734B06
- Parameters:
random_id (
int64-bit) – Random message ID, assigned by the author of messagechat_id (
int32-bit) – ID of encrypted chatdate (
int32-bit) – Date of sendingbytes (
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_id →
long├── chat_id →
int├── date →
int└── bytes →
bytesExample
EncryptedMessageService(
random_id=app.rnd_id(),
chat_id=0,
date=0,
bytes=b"data",
)