TimeSlotPickerChatElement

class TimeSlotPickerChatElement : IncomingChatElement, StructuredInputElement

A chat element representing a scheduling picker with a list of available time slots.

Time slot pickers allow the user to select a meeting or appointment time directly from the conversation. Once a slot is selected, the SDK confirms the choice with the agent.

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
@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.