Update send_video docstrings

Add a more detailed "thumb" description
This commit is contained in:
Dan 2018-09-12 08:26:13 +02:00 committed by GitHub
parent b49190256d
commit eb8513e009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,9 +75,10 @@ class SendVideo(BaseClient):
Video height.
thumb (``str``, *optional*):
Video thumbnail.
Pass a file path as string to send an image that exists on your local machine.
Thumbnail should have 90 or less pixels of width and 90 or less pixels of height.
Thumbnail of the video sent.
The thumbnail should be in JPEG format and less than 200 KB in size.
A thumbnail's width and height should not exceed 90 pixels.
Thumbnails can't be reused and can be only uploaded as a new file.
supports_streaming (``bool``, *optional*):
Pass True, if the uploaded video is suitable for streaming.