1
votes

I have searched through the documentation and cannot seem to find a solution for this. I created a webhook into Microsoft Teams channel and used this guide to post a message into the channel:

https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using#post-a-message-to-the-webhook-using-curl

This works quite nicely, but I would also like to make another cURL request to update the message. Is this even possible? What are my options?

I thought the "correlationId"-field would be the solution for creating unique identifiers for my messages but it doesn't seem to work that way:

https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference#card-fields

1

1 Answers

1
votes

There is no straight forward way of updating a message sent by webhook, what you can try is getting the list of messages using List Channel Messages API and then taking note of id of the particular message to update, and then use update message Graph API to update.