Visitar URL original
Update max caption length · ryuuzake/pyrogram@41180fd · GitHub
Skip to content

Commit 41180fd

Browse files
committed
Update max caption length
1 parent c8604e8 commit 41180fd

12 files changed

Lines changed: 12 additions & 12 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def send_animation(self,
5656
pass a file path as string to upload a new animation that exists on your local machine.
5757
5858
caption (``str``, *optional*):
59-
Animation caption, 0-200 characters.
59+
Animation caption, 0-1024 characters.
6060
6161
parse_mode (``str``, *optional*):
6262
Use :obj:`MARKDOWN <pyrogram.ParseMode.MARKDOWN>` or :obj:`HTML <pyrogram.ParseMode.HTML>`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def send_audio(self,
5858
pass a file path as string to upload a new audio file that exists on your local machine.
5959
6060
caption (``str``, *optional*):
61-
Audio caption, 0-200 characters.
61+
Audio caption, 0-1024 characters.
6262
6363
parse_mode (``str``, *optional*):
6464
Use :obj:`MARKDOWN <pyrogram.ParseMode.MARKDOWN>` or :obj:`HTML <pyrogram.ParseMode.HTML>`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def send_document(self,
5959
Thumbnails can't be reused and can be only uploaded as a new file.
6060
6161
caption (``str``, *optional*):
62-
Document caption, 0-200 characters.
62+
Document caption, 0-1024 characters.
6363
6464
parse_mode (``str``, *optional*):
6565
Use :obj:`MARKDOWN <pyrogram.ParseMode.MARKDOWN>` or :obj:`HTML <pyrogram.ParseMode.HTML>`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def send_photo(self,
5252
pass a file path as string to upload a new photo that exists on your local machine.
5353
5454
caption (``bool``, *optional*):
55-
Photo caption, 0-200 characters.
55+
Photo caption, 0-1024 characters.
5656
5757
parse_mode (``str``, *optional*):
5858
Use :obj:`MARKDOWN <pyrogram.ParseMode.MARKDOWN>` or :obj:`HTML <pyrogram.ParseMode.HTML>`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def send_video(self,
5757
pass a file path as string to upload a new video that exists on your local machine.
5858
5959
caption (``str``, *optional*):
60-
Video caption, 0-200 characters.
60+
Video caption, 0-1024 characters.
6161
6262
parse_mode (``str``, *optional*):
6363
Use :obj:`MARKDOWN <pyrogram.ParseMode.MARKDOWN>` or :obj:`HTML <pyrogram.ParseMode.HTML>`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def send_voice(self,
5353
pass a file path as string to upload a new audio that exists on your local machine.
5454
5555
caption (``str``, *optional*):
56-
Voice message caption, 0-200 characters.
56+
Voice message caption, 0-1024 characters.
5757
5858
parse_mode (``str``, *optional*):
5959
Use :obj:`MARKDOWN <pyrogram.ParseMode.MARKDOWN>` or :obj:`HTML <pyrogram.ParseMode.HTML>`

‎pyrogram/client/types/input_media/input_media_animation.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class InputMediaAnimation(InputMedia):
3535
Thumbnails can't be reused and can be only uploaded as a new file.
3636
3737
caption (``str``, *optional*):
38-
Caption of the animation to be sent, 0-200 characters
38+
Caption of the animation to be sent, 0-1024 characters
3939
4040
parse_mode (``str``, *optional*):
4141
Use :obj:`MARKDOWN <pyrogram.ParseMode.MARKDOWN>` or :obj:`HTML <pyrogram.ParseMode.HTML>`

‎pyrogram/client/types/input_media/input_media_audio.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class InputMediaAudio(InputMedia):
3636
Thumbnails can't be reused and can be only uploaded as a new file.
3737
3838
caption (``str``, *optional*):
39-
Caption of the audio to be sent, 0-200 characters
39+
Caption of the audio to be sent, 0-1024 characters
4040
4141
parse_mode (``str``, *optional*):
4242
Use :obj:`MARKDOWN <pyrogram.ParseMode.MARKDOWN>` or :obj:`HTML <pyrogram.ParseMode.HTML>`

‎pyrogram/client/types/input_media/input_media_document.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class InputMediaDocument(InputMedia):
3535
Thumbnails can't be reused and can be only uploaded as a new file.
3636
3737
caption (``str``, *optional*):
38-
Caption of the document to be sent, 0-200 characters
38+
Caption of the document to be sent, 0-1024 characters
3939
4040
parse_mode (``str``, *optional*):
4141
Use :obj:`MARKDOWN <pyrogram.ParseMode.MARKDOWN>` or :obj:`HTML <pyrogram.ParseMode.HTML>`

‎pyrogram/client/types/input_media/input_media_photo.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class InputMediaPhoto(InputMedia):
3131
Sending photo by a URL is currently unsupported.
3232
3333
caption (``str``, *optional*):
34-
Caption of the photo to be sent, 0-200 characters
34+
Caption of the photo to be sent, 0-1024 characters
3535
3636
parse_mode (``str``, *optional*):
3737
Use :obj:`MARKDOWN <pyrogram.ParseMode.MARKDOWN>` or :obj:`HTML <pyrogram.ParseMode.HTML>`

0 commit comments

Comments
 (0)