mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-31 02:09:58 +03:00
Remove uncertain information
This commit is contained in:
parent
b538e8dc27
commit
cc65ef72ae
|
@ -16,7 +16,7 @@ try:
|
||||||
import PIL
|
import PIL
|
||||||
import PIL.Image
|
import PIL.Image
|
||||||
except ImportError:
|
except ImportError:
|
||||||
PIL = None
|
PIL = NoneAdd a little more info
|
||||||
|
|
||||||
|
|
||||||
if typing.TYPE_CHECKING:
|
if typing.TYPE_CHECKING:
|
||||||
|
@ -205,10 +205,7 @@ class UploadMethods:
|
||||||
Successful thumbnails were files below 20kB and 320x320px.
|
Successful thumbnails were files below 20kB and 320x320px.
|
||||||
For Telegram to accept a thumbnail, you must provide the
|
For Telegram to accept a thumbnail, you must provide the
|
||||||
file's dimensions using either ``hachoir`` or
|
file's dimensions using either ``hachoir`` or
|
||||||
:tl:`DocumentAttributesVideo`.
|
:tl:`DocumentAttributesVideo`.
|
||||||
Telethon will resize thumbnails for you, if an image is
|
|
||||||
provided.
|
|
||||||
|
|
||||||
|
|
||||||
allow_cache (`bool`, optional):
|
allow_cache (`bool`, optional):
|
||||||
This parameter currently does nothing, but is kept for
|
This parameter currently does nothing, but is kept for
|
||||||
|
|
Loading…
Reference in New Issue
Block a user