Layer 220
EncryptedMessageService
Encrypted service message
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 |
Returns
EncryptedMessageGogram Example
// Creating EncryptedMessageService constructor obj := &tg.EncryptedMessageService{ RandomId: int64(0), ChatId: 0, Date: 0, Bytes: []byte{}, }