react-chatbot-kit
react-chatbot-kit copied to clipboard
How to remove widget once we clicked on any of the value from widget?
I have widget displaying main menu at the start of conversation(e.g. Live demo, Request for trial version, Sales team etc). When I click any of these, it should appear as user input message and that widget should disappear. So that user can not click any of those again in between the flow of conversation. Is it possible?
I have widget displaying main menu at the start of conversation(e.g. Live demo, Request for trial version, Sales team etc). When I click any of these, it should appear as user input message and that widget should disappear. So that user can not click any of those again in between the flow of conversation. Is it possible?
As demonstrated in the other issue, you may change the structure of the message in the internal array and remove the widget from the message object.