NicoNex / echotron

An elegant and concurrent library for the Telegram bot API in Go.
https://t.me/s/echotronnews
GNU Lesser General Public License v3.0
363 stars 26 forks source link

How send file( photo ,audio,video,doc) by url (like google cloud storage) #27

Closed jmy2022 closed 1 year ago

jmy2022 commented 1 year ago

now ,I just find two way

  1. echotron.NewInputFilePath("assets/tests/echotron_test.png"),
  2. echotron.NewInputFileID(photoID),

I need new way by url

DjMike238 commented 1 year ago

Hey there! Looks like we missed this feature in the Telegram API docs. We'll look into it!

DjMike238 commented 1 year ago

Hello! echotron.NewInputFileURL() is now available on version v3.23.1. Thanks for the heads up!