Skip to content

Commit e41d21b

Browse files
committed
Add "md" to possible parse modes for Markdown style
1 parent 6a62d1b commit e41d21b

21 files changed

+31
-31
lines changed

pyrogram/client/methods/messages/edit_inline_caption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def edit_inline_caption(
4040
parse_mode (``str``, *optional*):
4141
By default, texts are parsed using both Markdown and HTML styles.
4242
You can combine both syntaxes together.
43-
Pass "markdown" to enable Markdown-style parsing only.
43+
Pass "markdown" or "md" to enable Markdown-style parsing only.
4444
Pass "html" to enable HTML-style parsing only.
4545
Pass None to completely disable style parsing.
4646

pyrogram/client/methods/messages/edit_inline_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def edit_inline_text(
4444
parse_mode (``str``, *optional*):
4545
By default, texts are parsed using both Markdown and HTML styles.
4646
You can combine both syntaxes together.
47-
Pass "markdown" to enable Markdown-style parsing only.
47+
Pass "markdown" or "md" to enable Markdown-style parsing only.
4848
Pass "html" to enable HTML-style parsing only.
4949
Pass None to completely disable style parsing.
5050

pyrogram/client/methods/messages/edit_message_caption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def edit_message_caption(
4848
parse_mode (``str``, *optional*):
4949
By default, texts are parsed using both Markdown and HTML styles.
5050
You can combine both syntaxes together.
51-
Pass "markdown" to enable Markdown-style parsing only.
51+
Pass "markdown" or "md" to enable Markdown-style parsing only.
5252
Pass "html" to enable HTML-style parsing only.
5353
Pass None to completely disable style parsing.
5454

pyrogram/client/methods/messages/edit_message_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def edit_message_text(
5050
parse_mode (``str``, *optional*):
5151
By default, texts are parsed using both Markdown and HTML styles.
5252
You can combine both syntaxes together.
53-
Pass "markdown" to enable Markdown-style parsing only.
53+
Pass "markdown" or "md" to enable Markdown-style parsing only.
5454
Pass "html" to enable HTML-style parsing only.
5555
Pass None to completely disable style parsing.
5656

pyrogram/client/methods/messages/send_animation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def send_animation(
7272
parse_mode (``str``, *optional*):
7373
By default, texts are parsed using both Markdown and HTML styles.
7474
You can combine both syntaxes together.
75-
Pass "markdown" to enable Markdown-style parsing only.
75+
Pass "markdown" or "md" to enable Markdown-style parsing only.
7676
Pass "html" to enable HTML-style parsing only.
7777
Pass None to completely disable style parsing.
7878

pyrogram/client/methods/messages/send_audio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def send_audio(
6969
parse_mode (``str``, *optional*):
7070
By default, texts are parsed using both Markdown and HTML styles.
7171
You can combine both syntaxes together.
72-
Pass "markdown" to enable Markdown-style parsing only.
72+
Pass "markdown" or "md" to enable Markdown-style parsing only.
7373
Pass "html" to enable HTML-style parsing only.
7474
Pass None to completely disable style parsing.
7575

pyrogram/client/methods/messages/send_cached_media.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def send_cached_media(
6161
parse_mode (``str``, *optional*):
6262
By default, texts are parsed using both Markdown and HTML styles.
6363
You can combine both syntaxes together.
64-
Pass "markdown" to enable Markdown-style parsing only.
64+
Pass "markdown" or "md" to enable Markdown-style parsing only.
6565
Pass "html" to enable HTML-style parsing only.
6666
Pass None to completely disable style parsing.
6767

pyrogram/client/methods/messages/send_document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def send_document(
7070
parse_mode (``str``, *optional*):
7171
By default, texts are parsed using both Markdown and HTML styles.
7272
You can combine both syntaxes together.
73-
Pass "markdown" to enable Markdown-style parsing only.
73+
Pass "markdown" or "md" to enable Markdown-style parsing only.
7474
Pass "html" to enable HTML-style parsing only.
7575
Pass None to completely disable style parsing.
7676

pyrogram/client/methods/messages/send_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def send_message(
5353
parse_mode (``str``, *optional*):
5454
By default, texts are parsed using both Markdown and HTML styles.
5555
You can combine both syntaxes together.
56-
Pass "markdown" to enable Markdown-style parsing only.
56+
Pass "markdown" or "md" to enable Markdown-style parsing only.
5757
Pass "html" to enable HTML-style parsing only.
5858
Pass None to completely disable style parsing.
5959

pyrogram/client/methods/messages/send_photo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def send_photo(
6464
parse_mode (``str``, *optional*):
6565
By default, texts are parsed using both Markdown and HTML styles.
6666
You can combine both syntaxes together.
67-
Pass "markdown" to enable Markdown-style parsing only.
67+
Pass "markdown" or "md" to enable Markdown-style parsing only.
6868
Pass "html" to enable HTML-style parsing only.
6969
Pass None to completely disable style parsing.
7070

0 commit comments

Comments
 (0)