I would like to grab the attachment of a teams message, but the webhook information shows “attachment: empty” even though the rest of the information is present. I think the webhook only sends info regarding the text in the message.
All attachments get posted to the Sharepoint channel folder. So I am wondering if that is a potential work around. Can I list the contents of certain sharepoint folders, then grab the correct file? It owuld have to be something like “most recent file” if I am unabel to get any infortmation from the webhook that can tie to the sharepoint file.