Send image via Teams

Good afternoon,

I have a teams webhook setup and I can send text via a button click. I recently created a printtoimage line of code to take a screenshot of the screen and would like to setup the image to be sent through my webhook to Teams. Is this possible and if so how would I go about doing this? Below is the code on my button so far, just not sure how to change it to send the image instead of saving it. Any help would be appreciated.

system.print.printToImage(event.source.parent, "C:\\temp\\Screen.jpg")
message = {'C:\\temp\\Screen.jpg'}

url = "Webhook"

system.net.httpPost(url, "Application/Json", message, 10000, 60000)

Did you ever get this figured out?

How did you set up your webhook endpoint / are you sure it accepts images?

You might have do convert the image to a base64 code and transmit that and then have a decoder to turn it back into an image.