suggestionsTemplateFunction

<div id="chat"></div>
<script>
let messagesData = [
    {
        id: 1,
        text: "What would you like to do today? Notice the scrollable suggestions below:",
        authorId: "assistant",
        authorName: "Virtual Assistant",
        authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",
        timestamp: new Date(2026, 0, 1, 9, 0)
    },
    {
        id: 2,
        text: "I'd like to check the weather please.",
        authorId: "user",
        authorName: "User",
        authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/LONEP.jpg",
        timestamp: new Date(2026, 0, 1, 9, 5)
    }
];

$("#chat").kendoChat({
    suggestions: [
        { text: "Check Weather" },
        { text: "Set Reminder" },
        { text: "Play Music" },
        { text: "Get News Updates" },
        { text: "Schedule Meeting" },
        { text: "Send Email" },
        { text: "View Calendar" },
        { text: "Help & Support" }
    ],
    suggestionsScrollable: true,
    authorId: "user",
    dataSource: messagesData
});
</script>
In this article
suggestionsTemplate
Not finding the help you need?
Contact Support