I can get the render suggested actions to work when its loaded up, but when the user selects an option, i want to render more suggested options for them to select. I have the onpost firing. What am i missing here. this code fires but i dont see the options appear in the chat window.
function onPost(e) {
if (e.sender.options.user.name != 'Bot') {
if (e.text == 'How do I..?') {
var chat = $("#chat").data("kendoChat");
chat.renderSuggestedActions([{
title: "Option 1.",
value: "Option 1."
}, {
title: "Option 2",
value: "Option 2"
}
]);
}