From 4cf5669fa53bc8d10af14808f9d31c7c76cfd376 Mon Sep 17 00:00:00 2001 From: sbosse Date: Mon, 21 Jul 2025 23:37:52 +0200 Subject: [PATCH] Mon 21 Jul 22:43:21 CEST 2025 --- js/ui/botui/examples/hello-world/hello-world.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 js/ui/botui/examples/hello-world/hello-world.js 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!' +});