Web
DMflow.chat web: Flexible integration with customizable interfaces. Supports SDK, seamless system switching, and linking windows for unique user experiences.
<script type="module">
import Chatbot from "{{sdk url}}";
Chatbot.init({"id":"{{bot id}}","theme":{"button":{"backgroundColor":"#9c27b0"},"header":{"backgroundColor":"#9c27b0"}}});
</script>{
"id": "{{bot id}}",
"theme": {
"button": {
"backgroundColor": "#9c27b0"
},
"header": {
"backgroundColor": "#9c27b0"
}
},
"observersConfig": {
"observeUserInput": (userInput) => {
if (userInput === 'help') {
Chatbot.destroy()
}
}
}
}Last updated