JsonMessageEnvelope

data class JsonMessageEnvelope(username: String?, uuid: String?, source: JsonAddress?, sourceDevice: Int?, type: String?, relay: String?, timestamp: Long?, timestampISO: String?, serverTimestamp: Long?, serverDeliveredTimestamp: Long?, hasLegacyMessage: Boolean?, hasContent: Boolean?, isUnidentifiedSender: Boolean?, dataMessage: JsonDataMessage?, syncMessage: JsonSyncMessage?, callMessage: JsonCallMessage?, receipt: JsonReceiptMessage?, typing: JsonTypingMessage?)

Properties

Link copied to clipboard
val callMessage: JsonCallMessage? = null
Link copied to clipboard
val dataMessage: JsonDataMessage? = null
Link copied to clipboard
val hasContent: Boolean? = null
Link copied to clipboard
val hasLegacyMessage: Boolean? = null
Link copied to clipboard
val isUnidentifiedSender: Boolean? = null
Link copied to clipboard
val receipt: JsonReceiptMessage? = null
Link copied to clipboard
val relay: String? = null

this field is no longer available and will never be populated

Link copied to clipboard
val serverDeliveredTimestamp: Long? = null

Example: 161557644247580

Link copied to clipboard
val serverTimestamp: Long? = null
Link copied to clipboard
val source: JsonAddress? = null
Link copied to clipboard
val sourceDevice: Int? = null
Link copied to clipboard
val syncMessage: JsonSyncMessage? = null
Link copied to clipboard
val timestamp: Long? = null

Example: 1615576442475

Link copied to clipboard
val timestampISO: String? = null
Link copied to clipboard
val type: String? = null
Link copied to clipboard
val typing: JsonTypingMessage? = null
Link copied to clipboard
val username: String? = null

Example: "+12024561414"

Link copied to clipboard
val uuid: String? = null

Example: "0cc10e61-d64c-4dbc-b51c-334f7dd45a4a"