{"id":11745,"date":"2022-10-12T07:50:44","date_gmt":"2022-10-12T14:50:44","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=11745"},"modified":"2022-10-12T16:03:47","modified_gmt":"2022-10-12T23:03:47","slug":"announcing-updates-to-microsoft-teams-api-in-microsoft-graph","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/announcing-updates-to-microsoft-teams-api-in-microsoft-graph\/","title":{"rendered":"Announcing updates to Microsoft Teams API in Microsoft Graph\u00a0"},"content":{"rendered":"<p><span data-contrast=\"auto\">Today, we&#8217;re pleased to announce the general availability of several new features to the Microsoft Teams endpoint on Microsoft Graph, including <\/span><b><span data-contrast=\"auto\">interactive messaging APIs to read and send Microsoft Teams messages.<\/span><\/b><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">With these APIs, your app can now <\/span><a href=\"https:\/\/learn.microsoft.com\/graph\/api\/resources\/chatviewpoint?view=graph-rest-beta\"><span data-contrast=\"none\">get messages that are read and unread<\/span><\/a><span data-contrast=\"auto\">, as well as set which are read and unread; <\/span><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/chat-list-messages?view=graph-rest-beta&amp;tabs=http\"><span data-contrast=\"none\">sort messages by the time they were first sent<\/span><\/a><span data-contrast=\"auto\">, rather than by the time they were last edited; allow users to <\/span><a href=\"https:\/\/learn.microsoft.com\/graph\/api\/chatmessage-update?view=graph-rest-beta&amp;tabs=http\"><span data-contrast=\"none\">edit<\/span><\/a><span data-contrast=\"auto\"> and <\/span><a href=\"https:\/\/learn.microsoft.com\/graph\/api\/chatmessage-softdelete?view=graph-rest-beta&amp;tabs=http\"><span data-contrast=\"none\">delete<\/span><\/a><span data-contrast=\"auto\"> messages after they\u2019ve been sent; <\/span><a href=\"https:\/\/learn.microsoft.com\/graph\/api\/subscription-post-subscriptions?view=graph-rest-beta&amp;tabs=http\"><span data-contrast=\"none\">efficiently watch for updates<\/span><\/a><span data-contrast=\"auto\">, without having to subscribe to many different chat threads; and lastly,\u202f<\/span><a href=\"https:\/\/learn.microsoft.com\/graph\/api\/chat-hideforuser?view=graph-rest-beta&amp;tabs=http\"><span data-contrast=\"none\">hide<\/span><\/a><span data-contrast=\"auto\"> or <\/span><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/chat-unhideforuser?view=graph-rest-beta&amp;tabs=http\"><span data-contrast=\"none\">unhide<\/span><\/a><span data-contrast=\"auto\"> chat threads to de-clutter the chat list.<\/span><span data-contrast=\"auto\">\u202f<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">We\u2019re 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 <\/span><a href=\"https:\/\/learn.microsoft.com\/graph\/api\/subscription-post-subscriptions?view=graph-rest-beta&amp;tabs=http\"><span data-contrast=\"none\">watch all chat threads where app is installed<\/span><\/a><span data-contrast=\"auto\"> and allowing users to <\/span><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/chatmessage-setreaction?view=graph-rest-beta\"><span data-contrast=\"none\">respond to messages with reactions<\/span><\/a><span data-contrast=\"auto\"> like thumbs up and smileys.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/office\/using-tags-in-teams-667bd56f-32b8-4118-9a0b-56807c96d91e\"><span data-contrast=\"none\">Tags in Teams<\/span><\/a><span data-contrast=\"none\">, <\/span><span data-contrast=\"auto\">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. <\/span><a href=\"https:\/\/docs.microsoft.com\/en-us\/graph\/api\/resources\/teamworktag?view=graph-rest-beta\"><span data-contrast=\"none\">Create tags<\/span><\/a><span data-contrast=\"auto\"> to categorize people based on location, job title, projects, etc. Once a\u202f<\/span><a href=\"https:\/\/docs.microsoft.com\/en-us\/microsoftteams\/manage-tags\"><span data-contrast=\"none\">tag is created<\/span><span data-contrast=\"none\">,<\/span><\/a><span data-contrast=\"auto\">\u202fcommunicating 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 <\/span><a href=\"https:\/\/learn.microsoft.com\/en-us\/connectors\/teams\/#get-an-@mention-token-for-a-tag\"><span data-contrast=\"none\">mention tags in a channel post<\/span><span data-contrast=\"none\">.<\/span><\/a><span data-contrast=\"auto\">\u202f<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">A few more generally available APIs make work more efficient \u2013 including\u202f<a class=\"fui-Link ___m14voj0 f3rmtva f1ern45e f1deefiw f1n71otn f1q5o8ev f1h8hb77 f1vxd6vx f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f9n3di6 f1ids18y fygtlnl f1deo86v f12x56k7 f1iescvh ftqa4ok f50u1b5 fs3pq8b f1hghxdh f1tymzes f1x7u7e9 f1cmlufx f10aw75t fsle3fq\" tabindex=\"-1\" title=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/chat-list?view=graph-rest-1.0&amp;tabs=http\" href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/chat-list?view=graph-rest-1.0&amp;tabs=http\" target=\"_blank\" rel=\"noopener noreferrer\" aria-label=\"Link List\u202fchats\">List\u202fchats<\/a>\u202fAPI, which retrieves the list of chats of specific user; new\u00a0onlineMeetingInfo\u00a0property on\u202f<a class=\"fui-Link ___m14voj0 f3rmtva f1ern45e f1deefiw f1n71otn f1q5o8ev f1h8hb77 f1vxd6vx f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f9n3di6 f1ids18y fygtlnl f1deo86v f12x56k7 f1iescvh ftqa4ok f50u1b5 fs3pq8b f1hghxdh f1tymzes f1x7u7e9 f1cmlufx f10aw75t fsle3fq\" tabindex=\"-1\" title=\"https:\/\/learn.microsoft.com\/graph\/api\/resources\/chat?view=graph-rest-1.0\" href=\"https:\/\/learn.microsoft.com\/graph\/api\/resources\/chat?view=graph-rest-1.0\" target=\"_blank\" rel=\"noopener noreferrer\" aria-label=\"Link chat\">chat<\/a>\u202fthat gives access to the meeting join URL;\u00a0new\u00a0tenantId\u00a0property on\u202f<a class=\"fui-Link ___m14voj0 f3rmtva f1ern45e f1deefiw f1n71otn f1q5o8ev f1h8hb77 f1vxd6vx f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f9n3di6 f1ids18y fygtlnl f1deo86v f12x56k7 f1iescvh ftqa4ok f50u1b5 fs3pq8b f1hghxdh f1tymzes f1x7u7e9 f1cmlufx f10aw75t fsle3fq\" tabindex=\"-1\" title=\"https:\/\/learn.microsoft.com\/graph\/api\/resources\/chat?view=graph-rest-1.0\" href=\"https:\/\/learn.microsoft.com\/graph\/api\/resources\/chat?view=graph-rest-1.0\" target=\"_blank\" rel=\"noopener noreferrer\" aria-label=\"Link chat\">chat<\/a>\u202fmaking it easier to work with chats that span multiple tenants<u>;<\/u>\u00a0and\u00a0a new API to\u00a0allow your app to\u202f<a class=\"fui-Link ___m14voj0 f3rmtva f1ern45e f1deefiw f1n71otn f1q5o8ev f1h8hb77 f1vxd6vx f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f9n3di6 f1ids18y fygtlnl f1deo86v f12x56k7 f1iescvh ftqa4ok f50u1b5 fs3pq8b f1hghxdh f1tymzes f1x7u7e9 f1cmlufx f10aw75t fsle3fq\" tabindex=\"-1\" title=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/teamwork-sendactivitynotificationtorecipients?view=graph-rest-beta&amp;tabs=http%22%20\\t%20%22_blank\" href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/teamwork-sendactivitynotificationtorecipients?view=graph-rest-beta&amp;tabs=http%22%20\\t%20%22_blank\" target=\"_blank\" rel=\"noopener noreferrer\" aria-label=\"Link send activity feed notifications\">send activity feed notifications<\/a>\u202fto\u00a0multiple users at the same time. <\/span><\/p>\n<p><span data-contrast=\"auto\">And lastly, a few features we\u2019re excited to\u00a0<\/span><span data-contrast=\"auto\">share now<b>\u00a0in preview <\/b><\/span><span data-contrast=\"auto\">are the ability to get a <\/span><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/resources\/calltranscript?view=graph-rest-beta&amp;preserve-view=true\"><span data-contrast=\"none\">specific\u202ftranscript\u202for all the transcripts<\/span><\/a><span data-contrast=\"auto\"> of an\u202fonline meeting; and export messages from <\/span><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/teamwork-list-deletedteams?view=graph-rest-beta&amp;tabs=http\"><span data-contrast=\"none\">Teams that have been recently deleted.<\/span><\/a><\/p>\n<p><span data-contrast=\"none\">Follow us on\u202f<\/span><a href=\"https:\/\/twitter.com\/Microsoft365Dev\"><span data-contrast=\"none\">Twitter @Microsoft365Dev<\/span><\/a><span data-contrast=\"none\">\u202fto stay up to date on the latest announcements.\u202fYou can also continue the conversation by joining us in the\u202f<\/span><a href=\"https:\/\/aka.ms\/community\/microsoft365\"><span data-contrast=\"none\">Microsoft 365 Tech Community!<\/span><\/a><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Happy coding!<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, we&#8217;re pleased to announce the general availability of several new features to the Microsoft Teams API in Microsoft Graph, including interactive messaging APIs to read and send Microsoft Teams messages.\u00a0<\/p>\n","protected":false},"author":69096,"featured_media":11918,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3,128],"tags":[197,198],"class_list":["post-11745","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph","category-microsoft-teams","tag-microsoft-teams-api","tag-teamwork-and-communications"],"acf":[],"blog_post_summary":"<p>Today, we&#8217;re pleased to announce the general availability of several new features to the Microsoft Teams API in Microsoft Graph, including interactive messaging APIs to read and send Microsoft Teams messages.\u00a0<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/11745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69096"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=11745"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/11745\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/11918"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=11745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=11745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=11745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}