Respond to the fetchTask

Kailey Lee 1 Reputation point
2020-10-02T20:36:14.073+00:00

Hello,

I am building an app for Teams and using action-based messaging extension.
I received the initial invoke request(Activity object of type composeExtension/fetchTask) and now I want to send a response to this request.
However, in documentation there is no information about where to send the response.
I am not using any of the SDKs and building my app with php code from the scratch.
Should I send the response to one of the bot REST apis?
I will wait for your answer. Thank you very much!

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,296 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rama-MSFT 176 Reputation points
    2020-10-05T06:47:04.737+00:00

    @Kailey Lee Could you please try this sample code to respond to fetch task?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.