You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
<palign="center">A simple, but extensible Python implementation for the <ahref="https://core.telegram.org/bots/api">Telegram Bot API</a>.</p>
11
11
<palign="center">Both synchronous and asynchronous.</p>
12
12
13
-
## <palign="center">Supported Bot API version: <ahref="https://core.telegram.org/bots/api#january-1-2025"><imgsrc="https://img.shields.io/badge/Bot%20API-8.2-blue?logo=telegram"alt="Supported Bot API version"></a>
13
+
## <palign="center">Supported Bot API version: <ahref="https://core.telegram.org/bots/api#february-12-2025"><imgsrc="https://img.shields.io/badge/Bot%20API-8.3-blue?logo=telegram"alt="Supported Bot API version"></a>
Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as Document).
2830
2842
@@ -2845,8 +2857,18 @@ def send_video(
2845
2857
:param height: Video height
2846
2858
:type height: :obj:`int`
2847
2859
2848
-
:param thumbnail: Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>.
2860
+
:param thumbnail: Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size.
2861
+
A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file,
2862
+
so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>.
2849
2863
:type thumbnail: :obj:`str` or :class:`telebot.types.InputFile`
2864
+
2865
+
:param cover: Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended),
2866
+
pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under
2867
+
<file_attach_name> name. More information on Sending Files »
2868
+
:type cover: :obj:`str` or :class:`telebot.types.InputFile`
2869
+
2870
+
:param start_timestamp: Start timestamp for the video in the message
2871
+
:type start_timestamp: :obj:`int`
2850
2872
2851
2873
:param caption: Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
0 commit comments