0
votes

Bot builder 4.6 had protected virtual Task OnTeamsTaskModuleFetchAsync(ITurnContext turnContext, TaskModuleRequest taskModuleRequest, CancellationToken cancellationToken);

but bot builder 4.7.2 doesn't have this. Any specific reason? We want to return a task module iframe when someone clicks view details button on adaptive card. How can we do that using 4.7.2?

1
Could you please try out the latest sample for TaskModule?Gousia Begum

1 Answers

0
votes

Found the answer

new TaskModuleResponse
{
    Task = new TaskModuleContinueResponse
    {
        Value = new TaskModuleTaskInfo()
        {
            Height = TaskModuleHeight,
            Width = TaskModuleWidth,
            Title = PageTitle,
            Url = PageURI,
        },
    },
};