Forum Discussion
Is it possible to configure a task module pop-up to appear immediately when a bot command is entered
Hi,
I created a simple Bot. This Bot provides a command to create comments on tickets for specific 3rd party services. The current operation method is as follows.
1. botname addcomment subject When entering comment_description, the API of the 3rd party service is called and a comment is created with the entered subject / description.
I want this to pop up a task module with a "Send" button after entering the subject / description when entering the botname addcomment
However, from what I have confirmed so far, it seems that in order to launch the task module, you can only open the task module pop-up by entering the first command to launch adaptivecard and then clicking the button in adaptivecard.
Is there any way to solve this?
Thanks.
2 Replies
- Sayali-MSFT
Microsoft
LeeJinWoo - Task modules can be invoked from Microsoft Teams bots using buttons on Adaptive Cards and Bot Framework cards that are hero, thumbnail, and connector for Microsoft 365 Groups. Task modules are often a better user experience than multiple conversation steps. Keep track of bot state and allow the user to interrupt or cancel the sequence.
Reference Document- Use Task Modules in Microsoft Teams bots - Teams | Microsoft Learn
Sample link-Microsoft-Teams-Samples/samples/bot-task-module/csharp at main · OfficeDev/Microsoft-Teams-Samples (github.com) - Sayali-MSFT
Microsoft
LeeJinWoo - Thanks for reporting your issue.
We will check this at our end and will get back to you.