Forum Discussion
How to get teams channel message from reply of a message id in ms graph?
I used search/query
for example I search for xsxsxs. the result will be showing these 2 message, one is the main message (1) and one is the reply of the main message (2)
GET https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}/messages/1612509044972/replies/1613671348387
let say this id 1612509044972 is for the main message (1) and this id 1613671348387 is for the reply of the main message (2).
I want to use this api to get the message detail, for the main message (1) id 1612509044972 it will success.
GET https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}/messages/1612509044972
if if I use reply of main message (2) id 1613671348387 it will return 404 not found.
GET https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}/messages/1613671348387
is there any way to get the detail message using the api above if I only have id of reply of main message (2)?
thank you