Hi adegard, I know it's an old request and I am not spur but I think he posted an example using the curl tool here: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=24919#p231681
Just in case someone is interested and finds this, I finally posted an AHK-only solution here - using tmplinshi's CreateFormData(): https://www.autohotkey.com/boards/viewtopic.php?f=76&t=68417&p=294332#p294332
(forgot about it, although I announced it further up this thread... some time ago )
To be clear, this lets your bot upload an image from your computer to a chat.
The other way round, downloading an image to your computer that an user uploaded to Telegram is also possible, iirc. Next time