Hello,
I want to send a message on behalf of a user using the handleSubmit() function within the Bot component.
How can I expose it to the top Chatbot level?
I am using the Fullpage Embded
<script type="module">
import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js"
Chatbot.initFull({
chatflowid: someurl,
apiHost: somehost,
})
</script>
I want to do something like Chatbot.handleSubmit(messages)
Hello,
I want to send a message on behalf of a user using the handleSubmit() function within the Bot component.
How can I expose it to the top Chatbot level?
I am using the Fullpage Embded
<script type="module"> import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js" Chatbot.initFull({ chatflowid: someurl, apiHost: somehost, }) </script>I want to do something like Chatbot.handleSubmit(messages)