mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Correct thumb parameter documentation
This commit is contained in:
parent
393e1966c7
commit
dfda61a1b5
|
@ -72,7 +72,8 @@ class UploadMethods(MessageParseMethods, UserMethods):
|
||||||
:tl:`DocumentAttributeFilename` and so on.
|
:tl:`DocumentAttributeFilename` and so on.
|
||||||
|
|
||||||
thumb (`str` | `bytes` | `file`, optional):
|
thumb (`str` | `bytes` | `file`, optional):
|
||||||
Optional thumbnail (for videos).
|
Optional JPEG thumbnail (for documents). **Telegram will
|
||||||
|
ignore this parameter** unless you pass a ``.jpg`` file!
|
||||||
|
|
||||||
allow_cache (`bool`, optional):
|
allow_cache (`bool`, optional):
|
||||||
Whether to allow using the cached version stored in the
|
Whether to allow using the cached version stored in the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user