IncomingChatElement

open class IncomingChatElement : ContentChatElement, IncomingElementModel

A chat element representing a plain text message received from an agent or bot.

IncomingChatElement is the most common element type for inbound traffic in the conversation. Read the inherited text property to access the message content.

Inheritors

Properties

Link copied to clipboard
open override var id: String

Unique identifier of the element.

Link copied to clipboard
Link copied to clipboard
@get:JvmName(name = "status")
var status: Int

The delivery status of the message. One of the StatementStatus constants.

Link copied to clipboard
open override var text: String

The text content of the element.

Link copied to clipboard
open override var timestamp: Long

Time the element was created, in milliseconds since the epoch.

Functions

Link copied to clipboard
open override fun getStatus(): Int

Returns status.