ChoicesMessage

@JsonClass(generateAdapter = true)
class ChoicesMessage(val id: String, val inReplyToMessageId: String? = null, @Json(name = "choices") val content: ChoicesFormat, val reply: Message? = null, var channelAddressIdentifier: String? = null, var routingAttributes: Map<String, Any>? = null, var language: String? = null, var context: List<EntryPayload.SessionContextPayload>? = null) : Message

Constructors

Link copied to clipboard
constructor(id: String, inReplyToMessageId: String? = null, @Json(name = "choices") content: ChoicesFormat, reply: Message? = null, channelAddressIdentifier: String? = null, routingAttributes: Map<String, Any>? = null, language: String? = null, context: List<EntryPayload.SessionContextPayload>? = null)

Properties

Link copied to clipboard
open override var channelAddressIdentifier: String?

The channel address identifier for routing purposes.

Link copied to clipboard
open override val content: ChoicesFormat

The formatted content of this message.

Link copied to clipboard

Context entries attached to this message for pre-chat or hidden fields.

Link copied to clipboard
open override val id: String

The unique identifier of this message.

Link copied to clipboard
open override val inReplyToMessageId: String?

The identifier of the message this is replying to, or null if not a reply.

Link copied to clipboard
open override var isNewMessagingSession: Boolean?

Whether this message initiates a new messaging session.

Link copied to clipboard
open override var language: String?

The BCP 47 language tag for this message.

Link copied to clipboard

The structural type of this message, determining how content should be interpreted.

Link copied to clipboard
open override val reply: Message?

The original message being replied to, if this is a reply.

Link copied to clipboard
open override var routingAttributes: Map<String, Any>?

Key-value pairs used for skill-based routing decisions.