node-telegram-bot-api icon indicating copy to clipboard operation
node-telegram-bot-api copied to clipboard

Downloaded files from TelegramBot.downloadFile() are empty

Open ghost opened this issue 2 years ago • 0 comments

The files which are sent to the bot, are empty when downloaded using the downloadFile() function, but when I manually click on the URL, it downloads the file with the content. I have tried downloading the file with requests but the problem still persists. I get a working link of the file, but downloading fails when i try to do it from the code.

ghost avatar Jun 03 '23 18:06 ghost