customer-android-kotlin

//core/com.kustomer.core.models.chat/KusChatMessage

KusChatMessage

[androidJvm]
@JsonClass(generateAdapter = true)

data class KusChatMessage(var id: String = "", val trackingId: String? = null, val body: String?, val direction: KusChatMessageDirection, val directionType: String?, val createdAt: Long = 0, val truncated: Boolean? = false, val importedAt: Long? = 0, var conversationId: String = "", var sentById: String? = null, var sentByUser: KusUser? = null, val campaignId: String? = "", var attachmentIds: List<String>? = null, var attachments: List<KusChatAttachment>? = null, var rawJson: Any? = null, var pubnubTimetoken: Long? = 0, var template: KusMessageTemplate?, val lang: String?)

Constructors

   
KusChatMessage [androidJvm]
fun KusChatMessage(id: String = "", trackingId: String? = null, body: String?, direction: KusChatMessageDirection, directionType: String?, createdAt: Long = 0, truncated: Boolean? = false, importedAt: Long? = 0, conversationId: String = "", sentById: String? = null, sentByUser: KusUser? = null, campaignId: String? = "", attachmentIds: List<String>? = null, attachments: List<KusChatAttachment>? = null, rawJson: Any? = null, pubnubTimetoken: Long? = 0, template: KusMessageTemplate?, lang: String?)

Properties

Name Summary
attachmentIds [androidJvm]
var attachmentIds: List<String>? = null
attachments [androidJvm]
@Transient
var attachments: List<KusChatAttachment>? = null
body [androidJvm]
val body: String?
campaignId [androidJvm]
@Transient
val campaignId: String?
conversationId [androidJvm]
@Transient
var conversationId: String
createdAt [androidJvm]
val createdAt: Long = 0
direction [androidJvm]
val direction: KusChatMessageDirection
directionType [androidJvm]
val directionType: String?
id [androidJvm]
var id: String
importedAt [androidJvm]
val importedAt: Long? = 0
lang [androidJvm]
val lang: String?
pubnubTimetoken [androidJvm]
@Transient
var pubnubTimetoken: Long? = 0
rawJson [androidJvm]
var rawJson: Any? = null
sentById [androidJvm]
@Transient
var sentById: String? = null
sentByUser [androidJvm]
@Transient
var sentByUser: KusUser? = null
template [androidJvm]
var template: KusMessageTemplate?
trackingId [androidJvm]
val trackingId: String? = null
truncated [androidJvm]
val truncated: Boolean? = false