Unable to download images/stickers from Teams graph API call

Rochishna Aloor 0 Reputation points Microsoft Employee
2024-04-26T12:41:10.0566667+00:00

We are using teams graph to generate transcript for different kinds of chats. We are using the below for downloading images/sticker images however we get either distorted image/ if we replace <img> tag with <span> then it gives us just the alt text instead of the image shared. Please assist if there is any change


https://graph.microsoft.com/v1.0/chats/{Chat-id}/messages/{message-id}/hostedContents/{hostedcontent-id}/$value\
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,876 questions
0 comments No comments
{count} votes