简体   繁体   中英

Microsoft Teams - How to retrieve information about unread messages in a Teams Channel with MS Graph

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

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

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

chatMessages: delta

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM