telegram.sh
telegram.sh copied to clipboard
URL snapshot support
What would you say about adding a simple function:
Command:
telegram <url_img_or_video> "msg"
You can already send images and files using the switches -i <imagefile>
or -f <file>
. Is this what you want to achieve?
I think the goal is to send an image directly from a URL without having to download it first.
At the moment I am using telegram.sh like this in a script.
- Get image URL from API
- Download image from URL with wget to /tmp
- send image with telegram.sh
- delete image
It would be nice if we could just pass the URL to telegram.sh and send the image that way. Not sure if the telegram is able to do this tho...