Layer 224
constructor
encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage;

Parameters

Name Type Description
RandomId long Random message ID, assigned by the author of message
ChatId int ID of encrypted chat
Date int Date of sending
Bytes bytes TL-serialization of the Decrypted Message type, encrypted with the key created at chat initialization

Gogram Example

// Creating EncryptedMessageService constructor
obj := &tg.EncryptedMessageService{
    RandomId: int64(1234567890),
    ChatId: 42,
    Date: 42,
    Bytes: []byte{0x01, 0x02, 0x03},
}