Hi all,I’m building a bot that sends messages with buttons. once the user clicks on a button, I’d like the buttons to remain visible in the conversation window. Is there any param for that or any other way to do that ?
@Loki What is your frontend?
@nik202 am using rasa webchat, installed as npm package in my front end - React Js
@Loki I guess if you are using rasa webchat it currenlty don’t have display previous buttons while clicking and stay visible. If you are expert on ReactJS code, you can customise the repo.
Yeah, Webchat’s code is pretty obscure. I couldn’t even find which part of the code displays a new message (if found, we can track from there how it makes buttons disappear).
But as Nik said, if you can find the code, you can modify it. But no need to be a React expert, just be able to understand JavaScript and recognize the code for the buttons when you see it.
May I suggest using ChatbotWidget? It is way easier to customize. In my version of it, the buttons are persistent.
Hi @Loki. If this issue is resolved please can you close this thread as solution for others readers and for your own reference. Thanks.