0
votes

I am trying to get information about unread messages (Either just an indication, or better, a number of messages ) in a Microsoft Teams channel.

I am able to get the messages with MS Graph: https://graph.microsoft.com/v1.0/teams/[TEAMID]/channels/[ChannelID]/messages

But how can I get unread messages.

Thanks in advance

2

2 Answers

0
votes

You can use delta query to get new or updated messages in a channel.

GET /teams/{id}/channels/{id}/messages/delta

chatMessages: delta

0
votes

Currently we don't have this API, you can raise an UserVoice if this needs to be consider as a future request.