Announcing updates to Microsoft Teams API in Microsoft Graph 

Nick Kramer (TEAMS)

Today, we’re pleased to announce the general availability of several new features to the Microsoft Teams endpoint on Microsoft Graph, including interactive messaging APIs to read and send Microsoft Teams messages. 

With these APIs, your app can now get messages that are read and unread, as well as set which are read and unread; sort messages by the time they were first sent, rather than by the time they were last edited; allow users to edit and delete messages after they’ve been sent; efficiently watch for updates, without having to subscribe to many different chat threads; and lastly, hide or unhide chat threads to de-clutter the chat list. 

We’re also pleased to announce the preview of two new APIs that enable you to build additional messaging experiences, such as allowing your app to efficiently watch all chat threads where app is installed and allowing users to respond to messages with reactions like thumbs up and smileys. 

Tags in Teams, now generally available, allows you to create groups of people in a Team and communicate with them all at once without mentioning each individual person. Create tags to categorize people based on location, job title, projects, etc. Once a tag is created, communicating with the right people becomes quick and easy. Getting, updating and deleting tags are also supported by these APIs. Also use tags in conjunction with Power Automate to mention tags in a channel post. 

A few more generally available APIs make work more efficient – including List chats API, which retrieves the list of chats of specific user; new onlineMeetingInfo property on chat that gives access to the meeting join URL; new tenantId property on chat making it easier to work with chats that span multiple tenants; and a new API to allow your app to send activity feed notifications to multiple users at the same time.

And lastly, a few features we’re excited to share now in preview are the ability to get a specific transcript or all the transcripts of an online meeting; and export messages from Teams that have been recently deleted.

Follow us on Twitter @Microsoft365Dev to stay up to date on the latest announcements. You can also continue the conversation by joining us in the Microsoft 365 Tech Community! 

Happy coding! 

1 comment

Discussion is closed. Login to edit/delete existing comments.

  • Emmanuel Larrieux 0

    All the VTT files I have been able to download from Teams have wrong timestamps. For eg.

    0:0:0.0 --> 0:0:0.490

    The VTT format requires time to be like this:

    00:00:00.000 --> 00:00:00.490

    Where shall I report this?

Feedback usabilla icon