Visitar URL original
Update send_video docstrings · usergao/pyrogram@eb8513e · GitHub
Skip to content

Commit eb8513e

Browse files
authored
Update send_video docstrings
Add a more detailed "thumb" description
1 parent b491902 commit eb8513e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎pyrogram/client/methods/messages/send_video.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ def send_video(self,
7575
Video height.
7676
7777
thumb (``str``, *optional*):
78-
Video thumbnail.
79-
Pass a file path as string to send an image that exists on your local machine.
80-
Thumbnail should have 90 or less pixels of width and 90 or less pixels of height.
78+
Thumbnail of the video sent.
79+
The thumbnail should be in JPEG format and less than 200 KB in size.
80+
A thumbnail's width and height should not exceed 90 pixels.
81+
Thumbnails can't be reused and can be only uploaded as a new file.
8182
8283
supports_streaming (``bool``, *optional*):
8384
Pass True, if the uploaded video is suitable for streaming.

0 commit comments

Comments
 (0)