skip to Main Content

Download Image Python Telegram API

I followed their brief tutorial on downloading an image but I'm encountering an exception: telegram.photosize.PhotoSize object at ... is not JSON serializable the function for catching the images looks like this: def photo(bot, update): file_id = update.message.photo[-1] newFile = bot.getFile(file_id)…

VIEW QUESTION
Back To Top
Search