From ba0f5aa4d6f6a9c32d76d3f2abc35ec692b8d313 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Tue, 23 Jan 2018 15:38:01 +0100 Subject: [PATCH] Update docstrings --- pyrogram/client/client.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 860b18d1..9783df41 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -490,7 +490,7 @@ class Client: parse_mode (:obj:`str`): Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your message. - Defaults to MARKDOWN. + Defaults to Markdown. disable_web_page_preview (:obj:`bool`, optional): Disables link previews for links in this message. @@ -588,7 +588,7 @@ class Client: parse_mode (:obj:`str`): Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your caption. - Defaults to MARKDOWN. + Defaults to Markdown. ttl_seconds (:obj:`int`, optional): Self-Destruct Timer. @@ -661,7 +661,7 @@ class Client: parse_mode (:obj:`str`): Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your caption. - Defaults to MARKDOWN. + Defaults to Markdown. duration (:obj:`int`, optional): Duration of the audio in seconds. @@ -741,7 +741,7 @@ class Client: parse_mode (:obj:`str`): Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your caption. - Defaults to MARKDOWN. + Defaults to Markdown. disable_notification (:obj:`bool`, optional): Sends the message silently. @@ -810,7 +810,7 @@ class Client: parse_mode (:obj:`str`): Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your caption. - Defaults to MARKDOWN. + Defaults to Markdown. duration (:obj:`int`, optional): Duration of sent video in seconds. @@ -890,7 +890,7 @@ class Client: parse_mode (:obj:`str`): Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your caption. - Defaults to MARKDOWN. + Defaults to Markdown. duration (:obj:`int`, optional): Duration of the voice message in seconds. @@ -1255,7 +1255,7 @@ class Client: parse_mode (:obj:`str`): Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your message. - Defaults to MARKDOWN. + Defaults to Markdown. disable_web_page_preview (:obj:`bool`, optional): Disables link previews for links in this message. @@ -1296,7 +1296,7 @@ class Client: parse_mode (:obj:`str`): Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your caption. - Defaults to MARKDOWN. + Defaults to Markdown. Raises: :class:`pyrogram.Error`