FredrikOseberg / react-chatbot-kit

MIT License
330 stars 159 forks source link

React Chat bot Kit - How to create custom user message #191

Open jintzz opened 5 months ago

jintzz commented 5 months ago

Hi, I am using react-chatbot-kit version 2.2.2. I wanted to trigger a user input programmatically but not sure how to do so. I tried using createClientMessage function from the library but didn't seems to work. how can i do that? Also When I try to pass a value to the input box, using document.getElementByClassname, it is not getting set. Any help on these 2 issues will be really helpful