appleboy / telegram-action

GitHub Action that sends a Telegram message.
https://github.com/marketplace/actions/telegram-message-notify
MIT License
829 stars 108 forks source link

Feature Request: upload files #28

Open SukkaW opened 3 years ago

SukkaW commented 3 years ago

I'd like to upload files (like build log) through my Telegram bot.

But when I attach those files as a document, I got the error Request Entity Too Large.

So is it possible to add the file uploading feature to the action?

YajanaRao commented 3 years ago

I am looking for uploading APK file to telegram group after the build.

moeindev commented 3 years ago

I am looking for uploading APK file to telegram group after the build.

It's possible see here: https://github.com/moeindev/InstaWeather/blob/master/.github/workflows/deployDebugAction.yml

appleboy commented 3 years ago

https://core.telegram.org/bots/api#senddocument limit size: 50MB

Use this method to send general files. On success, the sent Message is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.