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
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
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}
Documentation: Get channel message
GitHub: channel-get-message.md
Create chatMessage in a channel
POST /teams/{id}/channels/{id}/messages
Documentation: Create chatMessage in a channel
GitHub: channel-post-messages.md
If you want to update channel or calendar event then the API available for them.
PATCH /teams/{id}/channels/{id}Some of these APIs are in Beta version, therefore,
APIs under the
/betaversion 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.