I'm trying to build a Telegram bot which forwards messages from a Telegram group chat to a Slack channel using Webhooks. at the moment, I was able to forward all text messages and photo captions (caption only).
If a file (photo, video, etc.) is sent in the connected group, is there a way to get it's URL and forward it to the post request to Slack? When asked, Slack support told me I can send a URL but I couldn't find it the the JSON update sent by the Telegram bot when a file was sent.
Thanks for the help