BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

[TaskModule][BotFrameworkV4][.Net]How to show an Adaptive card in Task Module in OnTurnAsync();

Open Chekrii opened this issue 6 years ago • 2 comments

Hello,

I am displaying an adaptive card with button of submit - "data":{"msteams":{"type":"task/fetch"}", On click on this Task module is getting pop up but I am not able to return another adaptive card on it. I can return by using "Task OnTeamsTaskModuleFetchAsync()" method.

Is there any way that I can return adaptive card to task module by using OnturnAsync(),

If I use OnturnAsync(), debugger is not going through OnTeamsTaskModuleFetchAsync(),

please help Thanks

Chekrii avatar Jan 25 '20 10:01 Chekrii

Worth mentioning that this is also asked on SO at https://stackoverflow.com/questions/59908265/how-to-respond-to-task-fetch-in-onturnasync-in-bot-framework-v4/59912089#59912089

HiltonGiesenow avatar Jan 25 '20 18:01 HiltonGiesenow

@Chekrii I see @HiltonGiesenow has already answered your question on Stack Overflow which has been accepted. The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repos are the preferred platform for submitting bug fixes and feature requests.

anusharr avatar Jan 27 '20 17:01 anusharr