JsonDataMessage
This type can contain the following fields:
| field | type | info | 
|---|---|---|
| attachments | List of v0.JsonAttachment | files attached to the incoming message | 
| body | String | the text body of the incoming message. | 
| contacts | List of v0.SharedContact | if the incoming message has a shared contact, the contact’s information will be here | 
| endSession | boolean | |
| expiresInSeconds | int | the expiry timer on the incoming message. Clients should delete records of the message within this number of seconds | 
| group | v0.JsonGroupInfo | if the incoming message was sent to a v1 group, information about that group will be here | 
| groupV2 | v0.JsonGroupV2Info | is the incoming message was sent to a v2 group, basic identifying information about that group will be here. For full information, use list_groups | 
| mentions | List of v0.JsonMention | list of mentions in the message | 
| previews | List of v0.JsonPreview | if the incoming message has a link preview, information about that preview will be here | 
| profileKeyUpdate | boolean | |
| quote | v0.JsonQuote | if the incoming message is a quote or reply to another message, this will contain information about that message | 
| reaction | v0.JsonReaction | if the message adds or removes a reaction to another message, this will indicate what change is being made | 
| remoteDelete | v0.RemoteDelete | if the inbound message is deleting a previously sent message, indicates which message should be deleted | 
| sticker | v0.JsonSticker | if the incoming message is a sticker, information about the sicker will be here | 
| timestamp | long | the timestamp that the message was sent at, according to the sender’s device. This is used to uniquely identify this message for things like reactions and quotes. | 
| viewOnce | boolean | indicates the message is a view once message. View once messages typically include no body and a single image attachment. Official Signal clients will prevent the user from saving the image, and once the user has viewed the image once they will destroy the image. | 
- v0.JsonSentTranscriptMessage.message
- v0.JsonMessageEnvelope.dataMessage