How can my telegram bot download photos that users sent to it without Telegram bot Api ? (im using pyTelegramBotAPI)
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
If you are using pyTelegramBotAPI you can use this code:
If your bot use a webhooks, you can use simple php code that will get response json data and can download the photo that was be uploaded by user.
That way is will be worked without any lib and extention, just simple php. If you want i can help you with this.