Hello,
I am using the jquery chat widget as a virtual assistant on the right corner of the page and would like the ability change the message box to a textarea as opposed to an input so all the wording that is outside the scrollable view area is visible.
I see in the angular version of this widget that this is possible, is there a similar feature for the jquery chat version? Or even the .net Core version?
Thanks,
Arthur
Hey everybody!
There must be something simple that I am missing.
I currently have a template set up to render through renderMessage() which runs for every message on initialization.
Loosely based on this. Thank you Martin for this one.
https://www.telerik.com/forums/set-date-on-rendermessage-in-kendochat
The issue is that when I hit the send button and it goes into the post() method, this template no longer applies and it seems to reverts back to default.
How do I wire up my template to be used by default on send button click?
Best,
Jeff
We are exploring using Kendo Chat for JQuery to support LLM interactions but are finding the control very limiting compared to Bootstrap 5 MDB. Does anyone know if you can:
<div id="chat"></div>
<script>
$(document).ready(function () {
var chat = $("#chat").kendoChat({
post: onPost
}).data("kendoChat");
chat.renderMessage({
type: "text",
text: "Hello, how can I assist you today?",
timestamp: new Date()
}, {
name: "Chatbot"
});
function onPost(args) {
var chatargs = args.sender;
var chat = $("#chat").data("kendoChat");
// Render the typing indicator.
chat.renderUserTypingIndicator({ name: "Chatbot" });
}
});
</script>
Hello, I'm trying to prevent chat posting, I mean when user click send button (or type keybord enter) I want in some cases to prevent the post of the message.
Something like this is not working (the message is posted in chat)
$("#chat").kendoChat({
post: function(e) {
e.preventDefault();
}
});
Is that a bug? Or there is a different approach to accomplish this task?
Thanks,
Mattia
What is the best way to customize the timestamp location and format?
We've tried using templates but can only control those rendered from chat.renderMessage, it's not clear how to use a different template from the user's posted message (ie we only know how to control the left-side not the right-side message bubbles)
The documentation has no information on this and were only able to piece together from other forum posts
Is there a way to set the date on the renderMessage method. I'm using the renderMessage to pre-populate the chat instance with a predefined, persistent chat message. When you click on the chat bubble, it shows you the time in hh:mm:ss format.
I'm curious, is there a way to set the date on the renderMessage. If yes, can you control what shows up when you click on it (i.e. old stuff, you most likely want to see the time.
Thanks,
Richard
Hello!
I need a feature for this chat control that is present in Kendo Angular library (https://www.telerik.com/kendo-angular-ui/components/conversationalui/message-templates/)
I'm talking about message templates: the possibility to add a custom template in normal message.
I need it to implement some advance features, like messages deletion and messages modification.
This feature will be present soon in Kendo jQuery library?
Thanks,
Mattia
Hello,
How can I get the text and the value of the button pressed? Right now it only appears to return the value which is not what I want the user to see. Like in this example it should say option 1 when you click on option 1 and not show value 1 but pass it back for use in the code.
https://dojo.telerik.com/OkoCIxIT
How can I get this to work properly?
Thanks -Tim
Hello
Is there any way to keeping all the messages in chat ui, is there a workaround so that I store the historical messages on user return then show the historical messages?
Thank you