I want to download a file in my telegram bot code many tutorials say that I must use the getFile method that I can’t find that in 4.2 version of the telegram API
so how I can download a file to a specific destination in host pc?
thanks
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
Assuming you are using TelegramBot SDK from rubenlagus (https://github.com/rubenlagus/TelegramBots), as I faced same issue. Below is my solution.
I had the same problem.
This was my solution. Not very nice but it works.
Here I got this solution
enter link description here