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