workflow/src/commands/helloworldCommandHandler.js
Help text instructs button click
SHA-256627a3e41f513a1a0f47fd62d3ac6513198b93e0608de588e15f2870b17bcf030
MaleculeH(U)
Evidence
8:7… c handleCommandReceived(context, message) {
9 console.log(`Bot received message: ${message.text}`);
10
11 // render your adaptive card for reply message
12 const cardData = {
13 title: "Your Hello World Bot is Running",
14 body: "Congratulations! Your hello world bot is running. Click the button below to trigger an action.",
15 };
16
17 const cardJson = AdaptiveCards.declare(helloWorldCard).render(cardData);
18 return M …
18:33… ment(CardFactory.adaptiveCard(cardJson));
19 }
20}
21
22module.exports = {
23 HelloWorldCommandHandler,
24};