InboxMessage

data class InboxMessage(val id: Long, val campaignId: String, val textContent: TextContent, val action: List<Action>, var isClicked: Boolean, val tag: String, val receivedTime: String, val expiry: String, val mediaContent: MediaContent? = null, val payload: JSONObject)

Data object for Inbox Messages

Author

Umang Chamaria

Since

1.0.00

Constructors

Link copied to clipboard
constructor(id: Long, campaignId: String, textContent: TextContent, action: List<Action>, isClicked: Boolean, tag: String, receivedTime: String, expiry: String, mediaContent: MediaContent? = null, payload: JSONObject)

Properties

Link copied to clipboard

Click action associated to the message.

Link copied to clipboard

Unique identifier for the message.

Link copied to clipboard

Time the message would expire.

Link copied to clipboard
val id: Long
Link copied to clipboard

True is the message has been clicked, else false.

Link copied to clipboard

Media associated with the message.

Link copied to clipboard

Complete campaign payload.

Link copied to clipboard

Time the message was received on the device.

Link copied to clipboard
val tag: String

Tag associated with the message, if nothing is defined general category is added.

Link copied to clipboard

Text content for message.