New to Kendo UI for Angular? Start a free 30-day trial
Suggested Actions
The Chat messages can 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. - Set the
value
andtype
for eachAction
.
Change Theme
Theme
Loading ...