LatestMessageDTO

@Serializable
data class LatestMessageDTO(val chatMessages: List<MessageData>, val takenOver: Boolean?, val requestedTakeover: Boolean?, val buttonClicks: List<ButtonDataSDK>, val attachments: List<AttachmentResponse>?, val supportsAttachments: Boolean?, val handoverQueuePosition: Int?, val handoverWaitTimeEstimate: Int?)

Constructors

Link copied to clipboard
constructor(chatMessages: List<MessageData>, takenOver: Boolean?, requestedTakeover: Boolean?, buttonClicks: List<ButtonDataSDK>, attachments: List<AttachmentResponse>?, supportsAttachments: Boolean?, handoverQueuePosition: Int?, handoverWaitTimeEstimate: Int?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "attachments")
val attachments: List<AttachmentResponse>?
Link copied to clipboard
@SerialName(value = "buttonClicks")
val buttonClicks: List<ButtonDataSDK>
Link copied to clipboard
@SerialName(value = "chatMessages")
val chatMessages: List<MessageData>
Link copied to clipboard
@SerialName(value = "handoverQueuePosition")
val handoverQueuePosition: Int?
Link copied to clipboard
@SerialName(value = "handoverWaitTimeEstimate")
val handoverWaitTimeEstimate: Int?
Link copied to clipboard
@SerialName(value = "requestedTakeover")
val requestedTakeover: Boolean?
Link copied to clipboard
@SerialName(value = "supports_attachment")
val supportsAttachments: Boolean?
Link copied to clipboard
@SerialName(value = "takenOver")
val takenOver: Boolean?

Functions

Link copied to clipboard
open override fun toString(): String