Correct structure of a response to a bot

Martin Bilda 166 Reputation points
2020-04-07T12:02:09.747+00:00

I have built a Microsoft Teams App myself using AppStudio. For this application I registered a bot and added a messaging endpoint. I have added the app to my team and can also access my bot using @Bot . My request also appears on my web service, only the response does not come back.
If I send a request to my web service using Postman, I receive a response. If I send a request using the bot from MSTeams, the bot does not respond. How do I build the response so that it leads to a message in Microsoft teams? As a Json object? What structures does this Json object need? Just return a string? Please help me

Best regards

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
5,391 questions
No comments
{count} votes

Accepted answer
  1. JimmyYang-MSFT 34,591 Reputation points Microsoft Employee
    2020-04-08T07:27:26.727+00:00

    Hi MartinBilda-7257!
    Sorry ,i am not familar with development. I found a document and it refers channel and group chat with Microsoft Teams bot for your reference:
    https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/channel-and-group-conversations?tabs=dotnet
    https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages?tabs=dotnet

    No comments

0 additional answers

Sort by: Most helpful