Correct thumb parameter documentation

This commit is contained in:
Lonami Exo 2018-07-07 12:01:42 +02:00
parent 393e1966c7
commit dfda61a1b5

View File

@ -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