Item

class Item

An item - message or event - that has been sent.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The time when the message or event was sent.

Link copied to clipboard

Provides information about the attachments.

Link copied to clipboard

The contactId on which the transcript item was originally sent. This field is populated only when the transcript item is from the current chat session.

Link copied to clipboard

The content of the message or event.

Link copied to clipboard

The type of content of the item.

Link copied to clipboard

The chat display name of the sender.

Link copied to clipboard
val id: String?

The ID of the item.

Link copied to clipboard

The metadata related to the message. Currently this supports only information related to message receipts.

Link copied to clipboard

The ID of the sender in the session.

Link copied to clipboard

The role of the sender. For example, is it a customer, agent, or system.

Link copied to clipboard

The contactId on which the transcript item was originally sent. This field is only populated for persistent chats when the transcript item is from the past chat session. For more information, see Enable persistent chat.

Link copied to clipboard

Type of the item: message or event.

Functions

Link copied to clipboard
inline fun copy(block: Item.Builder.() -> Unit = {}): Item
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String