diff --git a/telethon/client/downloads.py b/telethon/client/downloads.py index 3d2af555..f76129ee 100644 --- a/telethon/client/downloads.py +++ b/telethon/client/downloads.py @@ -740,6 +740,8 @@ class DownloadMethods: return 1, len(thumb.bytes) if isinstance(thumb, types.PhotoSize): return 1, thumb.size + if isinstance(thumb, types.PhotoSizeProgressive): + return 1, max(thumb.sizes) if isinstance(thumb, types.VideoSize): return 2, thumb.size