From c2c857b61bb34eefe8ed096a1df7ece05040a771 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 26 Dec 2020 13:08:40 +0100 Subject: [PATCH] Fix wrong usages of italic delimiters --- pyrogram/methods/messages/copy_message.py | 2 +- .../methods/messages/edit_message_caption.py | 2 +- .../methods/messages/edit_message_text.py | 2 +- pyrogram/methods/messages/send_animation.py | 2 +- pyrogram/methods/messages/send_audio.py | 2 +- .../methods/messages/send_cached_media.py | 2 +- pyrogram/methods/messages/send_document.py | 2 +- pyrogram/methods/messages/send_message.py | 2 +- pyrogram/methods/messages/send_photo.py | 2 +- pyrogram/methods/messages/send_video.py | 2 +- pyrogram/methods/messages/send_voice.py | 2 +- .../input_media/input_media_animation.py | 2 +- .../types/input_media/input_media_audio.py | 2 +- .../types/input_media/input_media_document.py | 2 +- .../types/input_media/input_media_photo.py | 2 +- .../types/input_media/input_media_video.py | 2 +- pyrogram/types/messages_and_media/message.py | 22 +++++++++---------- 17 files changed, 27 insertions(+), 27 deletions(-) diff --git a/pyrogram/methods/messages/copy_message.py b/pyrogram/methods/messages/copy_message.py index 9c58831e..43973ab0 100644 --- a/pyrogram/methods/messages/copy_message.py +++ b/pyrogram/methods/messages/copy_message.py @@ -76,7 +76,7 @@ class CopyMessage(Scaffold): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the new caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the new caption, which can be specified instead of *parse_mode*. disable_notification (``bool``, *optional*): Sends the message silently. diff --git a/pyrogram/methods/messages/edit_message_caption.py b/pyrogram/methods/messages/edit_message_caption.py index 3b9f75d1..abd94a26 100644 --- a/pyrogram/methods/messages/edit_message_caption.py +++ b/pyrogram/methods/messages/edit_message_caption.py @@ -54,7 +54,7 @@ class EditMessageCaption(Scaffold): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup`, *optional*): An InlineKeyboardMarkup object. diff --git a/pyrogram/methods/messages/edit_message_text.py b/pyrogram/methods/messages/edit_message_text.py index d09dda12..a3f94d1b 100644 --- a/pyrogram/methods/messages/edit_message_text.py +++ b/pyrogram/methods/messages/edit_message_text.py @@ -57,7 +57,7 @@ class EditMessageText(Scaffold): Pass None to completely disable style parsing. entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in message text, which can be specified instead of __parse_mode__. + List of special entities that appear in message text, which can be specified instead of *parse_mode*. disable_web_page_preview (``bool``, *optional*): Disables link previews for links in this message. diff --git a/pyrogram/methods/messages/send_animation.py b/pyrogram/methods/messages/send_animation.py index 620b4a9f..55e1126d 100644 --- a/pyrogram/methods/messages/send_animation.py +++ b/pyrogram/methods/messages/send_animation.py @@ -85,7 +85,7 @@ class SendAnimation(Scaffold): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. duration (``int``, *optional*): Duration of sent animation in seconds. diff --git a/pyrogram/methods/messages/send_audio.py b/pyrogram/methods/messages/send_audio.py index 1769ecd4..96829f70 100644 --- a/pyrogram/methods/messages/send_audio.py +++ b/pyrogram/methods/messages/send_audio.py @@ -82,7 +82,7 @@ class SendAudio(Scaffold): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. duration (``int``, *optional*): Duration of the audio in seconds. diff --git a/pyrogram/methods/messages/send_cached_media.py b/pyrogram/methods/messages/send_cached_media.py index bf8826eb..776771f5 100644 --- a/pyrogram/methods/messages/send_cached_media.py +++ b/pyrogram/methods/messages/send_cached_media.py @@ -69,7 +69,7 @@ class SendCachedMedia(Scaffold): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. disable_notification (``bool``, *optional*): Sends the message silently. diff --git a/pyrogram/methods/messages/send_document.py b/pyrogram/methods/messages/send_document.py index 6649e539..e5cb123b 100644 --- a/pyrogram/methods/messages/send_document.py +++ b/pyrogram/methods/messages/send_document.py @@ -84,7 +84,7 @@ class SendDocument(Scaffold): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. file_name (``str``, *optional*): File name of the document sent. diff --git a/pyrogram/methods/messages/send_message.py b/pyrogram/methods/messages/send_message.py index 76d3e279..3d235cc1 100644 --- a/pyrogram/methods/messages/send_message.py +++ b/pyrogram/methods/messages/send_message.py @@ -60,7 +60,7 @@ class SendMessage(Scaffold): Pass None to completely disable style parsing. entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in message text, which can be specified instead of __parse_mode__. + List of special entities that appear in message text, which can be specified instead of *parse_mode*. disable_web_page_preview (``bool``, *optional*): Disables link previews for links in this message. diff --git a/pyrogram/methods/messages/send_photo.py b/pyrogram/methods/messages/send_photo.py index a8fd0e0b..b3cd1dc0 100644 --- a/pyrogram/methods/messages/send_photo.py +++ b/pyrogram/methods/messages/send_photo.py @@ -76,7 +76,7 @@ class SendPhoto(Scaffold): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. ttl_seconds (``int``, *optional*): Self-Destruct Timer. diff --git a/pyrogram/methods/messages/send_video.py b/pyrogram/methods/messages/send_video.py index c4243463..3142c987 100644 --- a/pyrogram/methods/messages/send_video.py +++ b/pyrogram/methods/messages/send_video.py @@ -82,7 +82,7 @@ class SendVideo(Scaffold): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. ttl_seconds (``int``, *optional*): Self-Destruct Timer. diff --git a/pyrogram/methods/messages/send_voice.py b/pyrogram/methods/messages/send_voice.py index 5863ae01..269abc42 100644 --- a/pyrogram/methods/messages/send_voice.py +++ b/pyrogram/methods/messages/send_voice.py @@ -76,7 +76,7 @@ class SendVoice(Scaffold): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. duration (``int``, *optional*): Duration of the voice message in seconds. diff --git a/pyrogram/types/input_media/input_media_animation.py b/pyrogram/types/input_media/input_media_animation.py index 13a5d777..840dcfed 100644 --- a/pyrogram/types/input_media/input_media_animation.py +++ b/pyrogram/types/input_media/input_media_animation.py @@ -48,7 +48,7 @@ class InputMediaAnimation(InputMedia): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. width (``int``, *optional*): Animation width. diff --git a/pyrogram/types/input_media/input_media_audio.py b/pyrogram/types/input_media/input_media_audio.py index be5ef3bd..0366cede 100644 --- a/pyrogram/types/input_media/input_media_audio.py +++ b/pyrogram/types/input_media/input_media_audio.py @@ -50,7 +50,7 @@ class InputMediaAudio(InputMedia): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. duration (``int``, *optional*): Duration of the audio in seconds diff --git a/pyrogram/types/input_media/input_media_document.py b/pyrogram/types/input_media/input_media_document.py index e9f8882c..3985eadd 100644 --- a/pyrogram/types/input_media/input_media_document.py +++ b/pyrogram/types/input_media/input_media_document.py @@ -48,7 +48,7 @@ class InputMediaDocument(InputMedia): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. """ def __init__( diff --git a/pyrogram/types/input_media/input_media_photo.py b/pyrogram/types/input_media/input_media_photo.py index 486a6869..81825335 100644 --- a/pyrogram/types/input_media/input_media_photo.py +++ b/pyrogram/types/input_media/input_media_photo.py @@ -44,7 +44,7 @@ class InputMediaPhoto(InputMedia): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. """ def __init__( diff --git a/pyrogram/types/input_media/input_media_video.py b/pyrogram/types/input_media/input_media_video.py index cb595e13..9d58f8ea 100644 --- a/pyrogram/types/input_media/input_media_video.py +++ b/pyrogram/types/input_media/input_media_video.py @@ -50,7 +50,7 @@ class InputMediaVideo(InputMedia): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. width (``int``, *optional*): Video width. diff --git a/pyrogram/types/messages_and_media/message.py b/pyrogram/types/messages_and_media/message.py index dba40d6f..8b46632c 100644 --- a/pyrogram/types/messages_and_media/message.py +++ b/pyrogram/types/messages_and_media/message.py @@ -751,7 +751,7 @@ class Message(Object, Update): Pass None to completely disable style parsing. entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in message text, which can be specified instead of __parse_mode__. + List of special entities that appear in message text, which can be specified instead of *parse_mode*. disable_web_page_preview (``bool``, *optional*): Disables link previews for links in this message. @@ -853,7 +853,7 @@ class Message(Object, Update): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. duration (``int``, *optional*): Duration of sent animation in seconds. @@ -995,7 +995,7 @@ class Message(Object, Update): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. duration (``int``, *optional*): Duration of the audio in seconds. @@ -1129,7 +1129,7 @@ class Message(Object, Update): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. disable_notification (``bool``, *optional*): Sends the message silently. @@ -1352,7 +1352,7 @@ class Message(Object, Update): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. disable_notification (``bool``, *optional*): Sends the message silently. @@ -1747,7 +1747,7 @@ class Message(Object, Update): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. ttl_seconds (``int``, *optional*): Self-Destruct Timer. @@ -2180,7 +2180,7 @@ class Message(Object, Update): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. ttl_seconds (``int``, *optional*): Self-Destruct Timer. @@ -2447,7 +2447,7 @@ class Message(Object, Update): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. duration (``int``, *optional*): Duration of the voice message in seconds. @@ -2550,7 +2550,7 @@ class Message(Object, Update): Pass None to completely disable style parsing. entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in message text, which can be specified instead of __parse_mode__. + List of special entities that appear in message text, which can be specified instead of *parse_mode*. disable_web_page_preview (``bool``, *optional*): Disables link previews for links in this message. @@ -2612,7 +2612,7 @@ class Message(Object, Update): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the caption, which can be specified instead of *parse_mode*. reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup`, *optional*): An InlineKeyboardMarkup object. @@ -2811,7 +2811,7 @@ class Message(Object, Update): Pass None to completely disable style parsing. caption_entities (List of :obj:`~pyrogram.types.MessageEntity`): - List of special entities that appear in the new caption, which can be specified instead of __parse_mode__. + List of special entities that appear in the new caption, which can be specified instead of *parse_mode*. disable_notification (``bool``, *optional*): Sends the message silently.