4

I can write a thread message inside a channel in Microsoft Teams. Is there any method to update the content of it via REST API?

Thanks

Utkarsh Dubey
  • 703
  • 11
  • 31

2 Answers2

0

Simply No, Neither Update method nor Delete method

Two things which is available in Graph API, one is Post method and second is Get method. This is for messages inside a channel in Microsoft Teams.

Get channel message,

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

Create chatMessage in a channel

POST /teams/{id}/channels/{id}/messages

If you want to update channel or calendar event then the API available for them.

Some of these APIs are in Beta version, therefore,

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

Idea posted on Microsoft User Voice, Update Teams Message/Channel Posts with Graph API.

Utkarsh Dubey
  • 703
  • 11
  • 31
0

The User Voice idea in Utkarsh's answer is gone.

I have created a new item in the feedback portal, as I couldn't find an existing item.

https://feedbackportal.microsoft.com/feedback/idea/1b2f43ee-a56f-ed11-a81b-000d3ae32cd0