QuickReplyOption

data class QuickReplyOption(val text: String, val payload: String, val type: String)

A single option presented in a quick reply message.

Constructors

Link copied to clipboard
constructor(text: String, payload: String, type: String)

Types

Link copied to clipboard

Properties

Link copied to clipboard

The value sent back to the Messenger service when the option is selected. For ACTION_TYPE_LINK options, the payload is the URL to open. Selecting a link option raises a com.genesys.cloud.integration.core.UserEvent.ActionLink event and sends nothing to the Messenger service.

Link copied to clipboard

The label shown to the user.

Link copied to clipboard

The action type of the option. One of ACTION_TYPE_QUICK_REPLY, ACTION_TYPE_BUTTON, or ACTION_TYPE_LINK.