Is there an API to send messages to Teams group chats?

大森 直人 11 Reputation points
2021-01-29T08:50:56.147+00:00

Is there an API to send a message to a group chat instead of mentioning it on a Teams channel?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,627 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,081 Reputation points Microsoft Vendor
    2021-01-29T10:12:39.137+00:00

    @大森 直人 ,

    You could refer to chatMessage resource type to learn more about Teams chat API. As we are mainly responsible for general issue of Microsoft Teams, your question involved in development is out of our scope. I would add office-teams-app-dev tag for more technical support.

    Besides, you could generate a deep link to a chat as below:
    https://teams.microsoft.com/l/chat/0/0?**users**=joe[@](/users/na/?userId=a28c79c1-c609-48db-b55f-1783d1187afb).com,bob[@](/users/na/?userId=a28c79c1-c609-48db-b55f-1783d1187afb).com&**topicName**=Prep%20For%20Meeting%20Tomorrow&**message**=Hi%20folks%2C%20kicking%20off%20a%20chat%20about%20our%20meeting%20tomorrow

    For more details, please refer to this article.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.