diff --git a/js/ui/botui/examples/hello-world-with-html/hello-world.js b/js/ui/botui/examples/hello-world-with-html/hello-world.js new file mode 100644 index 0000000..8d2e051 --- /dev/null +++ b/js/ui/botui/examples/hello-world-with-html/hello-world.js @@ -0,0 +1,10 @@ +var botui = new BotUI('hello-world'); + +botui.message.add({ + content: 'Hello World from bot!
line break.link' +}); + +botui.message.add({ + human: true, + content: 'Hello World from human!' +});