QuickReplyChatElement

class QuickReplyChatElement : IncomingChatElement, StructuredInputElement

A chat element representing a set of suggested reply buttons.

Quick replies guide the user with a fixed set of selectable responses. Each option in quickReplies sends a predefined message back to the conversation when tapped.

Parameters

quickReplies

The list of selectable reply options shown beneath the message text.

Properties

Link copied to clipboard
open override var id: String

Unique identifier of the element.

Link copied to clipboard
open override var isInputsEnabled: Boolean

Whether the element's controls accept user input. The SDK sets this to false when the conversation is no longer active, so the controls are greyed out while the element stays visible.

Link copied to clipboard
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.