KindlyEventMessage

data class KindlyEventMessage(val id: String, val text: String? = null, val sender: KindlyEventMessageSender, val created: Date? = null, val isFromUser: Boolean, val exchangeID: String? = null, val videoSource: String? = null, val exchangeType: KindlyEventExchangeType? = null, val buttons: List<KindlyEventButton> = emptyList(), val images: List<KindlyEventImage> = emptyList(), val attachments: List<KindlyEventAttachment> = emptyList())

Message data for events

Constructors

Link copied to clipboard
constructor(id: String, text: String? = null, sender: KindlyEventMessageSender, created: Date? = null, isFromUser: Boolean, exchangeID: String? = null, videoSource: String? = null, exchangeType: KindlyEventExchangeType? = null, buttons: List<KindlyEventButton> = emptyList(), images: List<KindlyEventImage> = emptyList(), attachments: List<KindlyEventAttachment> = emptyList())

Properties

Link copied to clipboard

Message attachments if any

Link copied to clipboard

Message buttons if any

Link copied to clipboard

Message creation timestamp

Link copied to clipboard

Exchange ID if applicable

Link copied to clipboard

Exchange type if applicable

Link copied to clipboard
val id: String

Message ID

Link copied to clipboard

Message images if any

Link copied to clipboard

Whether the message is from the user

Link copied to clipboard

Message sender type

Link copied to clipboard
val text: String?

Message text content

Link copied to clipboard

Video source URL if applicable