I am using Bot framewokV4 and I want to return the adaptive card to Task module in Teams.
I am using Adaptive card with submit value as "data":{"msteams":{"type":"task/fetch"}}"
for Task module popup.
How can I return the basic adaptive card to task module from
public override async Task OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken = default(CancellationToken))
method.
I can return by using protected override async Task<TaskModuleResponse> OnTeamsTaskModuleFetchAsync(ITurnContext<IInvokeActivity> turnContext, TaskModuleRequest taskModuleRequest, CancellationToken cancellationToken)
method
but this method is not getting triggered when I use the OnturnAsync method.
Please help, Thanks.