yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.13k stars 1.49k forks source link

uncompressed images #1140

Closed fokayirna closed 8 months ago

fokayirna commented 8 months ago

how to get an array of uncompressed images from a message sent by a user.

danielperez9430 commented 8 months ago

You can only get a "uncompressed" images if the image was send in the first place as "document", in other case any image that you download was compress Telegram server side. So this is why you get an array of the same image with different resolution but all the options was a compress image.