question

SunilReddy-8461 avatar image
0 Votes"
SunilReddy-8461 asked saldana-msft edited

Microsoft API that allow read/write of chat messages in a live call?

In teams an online meeting/ call has a live chat box where people can send messages while in the call. Is there an API that allows to get those messages / post in that specific chat while the call is taking place? Not the messages in the channel.

Thank you

office-teams-app-devmicrosoft-graph-teamworkmicrosoft-graph-sdk
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Prasad-MSFT avatar image
3 Votes"
Prasad-MSFT answered

Chat messages posted in meeting are similar to group chat. You can get chat messages of particular meeting/live call by following these steps:

  1. Fetch the chats using https://graph.microsoft.com/beta/me/chats

  2. Copy the meeting chat Id (look for chatType : meeting)

  3. Use Get - https://graph.microsoft.com/beta/chats/<meetingchatId>/messages to fetch messages


Permissions Required:
Chat.Read
Chat.ReadWrite


Thanks,
Prasad Das



If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.