Telethon/telethon/client
Nick80835 b9aafa3441 Fix IOError with some image modes in photo resize
This fixes image compression with mode "P" (potentially others) which is necessary as the server has erroneous alpha color with some types of images (mode "P" for example). This also properly applies the background argument that may be passed to _resize_photo_if_needed by always compressing images with alpha regardless of whether the server will compress the image for us.
2025-01-13 20:37:36 +01:00
..
__init__.py Add new takeout method 2019-01-05 17:18:40 +01:00
account.py Avoid using telethon.sync in the examples 2019-08-13 23:33:39 +02:00
auth.py Fix regression on supported Python version (#4347) 2024-04-12 21:06:15 +02:00
bots.py Expose entity parameter in client.inline_query 2020-10-11 16:59:48 +02:00
buttons.py Add some missing words in the docs 2020-01-19 13:25:58 +01:00
chats.py Remove client-side checks when editing permissions 2023-07-21 22:53:38 +02:00
dialogs.py Fix get_dialogs could fail when count % chunk_size = 0 2022-11-09 16:14:12 +01:00
downloads.py Support CDN downloads (#4420) 2024-08-07 20:25:35 +02:00
messageparse.py Strip 0-length message entities 2022-09-20 13:12:01 +02:00
messages.py Fix reuse of captions during send msg with file (#4500) 2024-10-25 23:27:58 +02:00
telegrambaseclient.py fix(session): persist session after session.set_dc 2024-11-20 17:25:56 +01:00
telegramclient.py Remove messy subclassing in the TelegramClient 2019-06-24 17:48:46 +02:00
updates.py Except all types of timeout error 2023-08-18 18:36:30 +02:00
uploads.py Fix IOError with some image modes in photo resize 2025-01-13 20:37:36 +01:00
users.py Handle FloodPremiumWaitError 2024-07-24 16:38:34 +02:00