How to update (edit) a Microsoft Teams message (thread or reply) inside a Teams channel via REST API

Viewed 962

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

1 Answers

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.

Related