telegram.sh icon indicating copy to clipboard operation
telegram.sh copied to clipboard

URL snapshot support

Open smarticz opened this issue 4 years ago • 2 comments

What would you say about adding a simple function:

Command: telegram <url_img_or_video> "msg"

smarticz avatar Jul 12 '20 20:07 smarticz

You can already send images and files using the switches -i <imagefile> or -f <file>. Is this what you want to achieve?

fabianonline avatar Nov 25 '20 17:11 fabianonline

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...

hrvstr avatar Nov 26 '20 08:11 hrvstr