From cc65ef72ae43047435b26b74768e454f315f5b69 Mon Sep 17 00:00:00 2001 From: Qwerty-Space Date: Sat, 23 Jan 2021 22:43:47 +0000 Subject: [PATCH] Remove uncertain information --- telethon/client/uploads.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/telethon/client/uploads.py b/telethon/client/uploads.py index 919b1c31..6d9d048e 100644 --- a/telethon/client/uploads.py +++ b/telethon/client/uploads.py @@ -16,7 +16,7 @@ try: import PIL import PIL.Image except ImportError: - PIL = None + PIL = NoneAdd a little more info if typing.TYPE_CHECKING: @@ -205,10 +205,7 @@ class UploadMethods: Successful thumbnails were files below 20kB and 320x320px. For Telegram to accept a thumbnail, you must provide the file's dimensions using either ``hachoir`` or - :tl:`DocumentAttributesVideo`. - Telethon will resize thumbnails for you, if an image is - provided. - + :tl:`DocumentAttributesVideo`. allow_cache (`bool`, optional): This parameter currently does nothing, but is kept for