Suggested Actions

The Chat messages may contain suggestions for quick actions such as preset replies.

The Chat displays suggested actions for the last message only.

Supported Action Types

The Chat provides built-in support for the following action types:

  • openUrl—Opens a new browser window with the specified URL.
  • reply—Sends the action value as a reply in the Chat.
  • call—Treats the value as a phone number. Similar to clicking a telephone link.
  • other—Handled by user code in the ExecuteActionEvent.

Defining Quick Actions

To define quick actions for a message, populate the suggestedActions field of the message.

View Source
Change Theme: