(SOLVED) Get the file id for a file posted to Microsoft Teams to present in the Teams media Viewer
I am migrating teams who were on WhatsApp to Microsoft Teams.
I developed a method to automate posting of complied WhatsApp chats including media into a MS Team channel using Adaptive Cards. I was able to figure out how to get these media items to present in the WEB and the Apps.
My last step involves a way to use the Viewer in Ms Teams to view the media in the post.
I could action this on the media click, or add an action button on the adaptive card.
However building for building the URL I am stuck on the FileID
Looks like you were able to figure out the answer to your question and posted what you found here. I wanted to follow up with a bit more information on the Teams connector if you would like to learn more.