2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 13:27:47 +00:00

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. Video height.
thumb (``str``, *optional*): thumb (``str``, *optional*):
Video thumbnail. Thumbnail of the video sent.
Pass a file path as string to send an image that exists on your local machine. The thumbnail should be in JPEG format and less than 200 KB in size.
Thumbnail should have 90 or less pixels of width and 90 or less pixels of height. 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*): supports_streaming (``bool``, *optional*):
Pass True, if the uploaded video is suitable for streaming. Pass True, if the uploaded video is suitable for streaming.