mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Update docstrings
This commit is contained in:
parent
84ae464b52
commit
ba0f5aa4d6
@ -490,7 +490,7 @@ class Client:
|
|||||||
parse_mode (:obj:`str`):
|
parse_mode (:obj:`str`):
|
||||||
Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps
|
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.
|
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):
|
disable_web_page_preview (:obj:`bool`, optional):
|
||||||
Disables link previews for links in this message.
|
Disables link previews for links in this message.
|
||||||
@ -588,7 +588,7 @@ class Client:
|
|||||||
parse_mode (:obj:`str`):
|
parse_mode (:obj:`str`):
|
||||||
Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps
|
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.
|
to show bold, italic, fixed-width text or inline URLs in your caption.
|
||||||
Defaults to MARKDOWN.
|
Defaults to Markdown.
|
||||||
|
|
||||||
ttl_seconds (:obj:`int`, optional):
|
ttl_seconds (:obj:`int`, optional):
|
||||||
Self-Destruct Timer.
|
Self-Destruct Timer.
|
||||||
@ -661,7 +661,7 @@ class Client:
|
|||||||
parse_mode (:obj:`str`):
|
parse_mode (:obj:`str`):
|
||||||
Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps
|
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.
|
to show bold, italic, fixed-width text or inline URLs in your caption.
|
||||||
Defaults to MARKDOWN.
|
Defaults to Markdown.
|
||||||
|
|
||||||
duration (:obj:`int`, optional):
|
duration (:obj:`int`, optional):
|
||||||
Duration of the audio in seconds.
|
Duration of the audio in seconds.
|
||||||
@ -741,7 +741,7 @@ class Client:
|
|||||||
parse_mode (:obj:`str`):
|
parse_mode (:obj:`str`):
|
||||||
Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps
|
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.
|
to show bold, italic, fixed-width text or inline URLs in your caption.
|
||||||
Defaults to MARKDOWN.
|
Defaults to Markdown.
|
||||||
|
|
||||||
disable_notification (:obj:`bool`, optional):
|
disable_notification (:obj:`bool`, optional):
|
||||||
Sends the message silently.
|
Sends the message silently.
|
||||||
@ -810,7 +810,7 @@ class Client:
|
|||||||
parse_mode (:obj:`str`):
|
parse_mode (:obj:`str`):
|
||||||
Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps
|
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.
|
to show bold, italic, fixed-width text or inline URLs in your caption.
|
||||||
Defaults to MARKDOWN.
|
Defaults to Markdown.
|
||||||
|
|
||||||
duration (:obj:`int`, optional):
|
duration (:obj:`int`, optional):
|
||||||
Duration of sent video in seconds.
|
Duration of sent video in seconds.
|
||||||
@ -890,7 +890,7 @@ class Client:
|
|||||||
parse_mode (:obj:`str`):
|
parse_mode (:obj:`str`):
|
||||||
Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps
|
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.
|
to show bold, italic, fixed-width text or inline URLs in your caption.
|
||||||
Defaults to MARKDOWN.
|
Defaults to Markdown.
|
||||||
|
|
||||||
duration (:obj:`int`, optional):
|
duration (:obj:`int`, optional):
|
||||||
Duration of the voice message in seconds.
|
Duration of the voice message in seconds.
|
||||||
@ -1255,7 +1255,7 @@ class Client:
|
|||||||
parse_mode (:obj:`str`):
|
parse_mode (:obj:`str`):
|
||||||
Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps
|
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.
|
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):
|
disable_web_page_preview (:obj:`bool`, optional):
|
||||||
Disables link previews for links in this message.
|
Disables link previews for links in this message.
|
||||||
@ -1296,7 +1296,7 @@ class Client:
|
|||||||
parse_mode (:obj:`str`):
|
parse_mode (:obj:`str`):
|
||||||
Use :obj:`pyrogram.ParseMode.MARKDOWN` or :obj:`pyrogram.ParseMode.HTML` if you want Telegram apps
|
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.
|
to show bold, italic, fixed-width text or inline URLs in your caption.
|
||||||
Defaults to MARKDOWN.
|
Defaults to Markdown.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
:class:`pyrogram.Error`
|
:class:`pyrogram.Error`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user