mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Update Client's docstrings
This commit is contained in:
parent
61e737b2e8
commit
822e09ae13
1 changed files with 5 additions and 6 deletions
|
|
@ -146,15 +146,14 @@ class Client(Methods):
|
||||||
Your Smart Plugins settings as dict, e.g.: *dict(root="plugins")*.
|
Your Smart Plugins settings as dict, e.g.: *dict(root="plugins")*.
|
||||||
|
|
||||||
parse_mode (:obj:`~pyrogram.enums.ParseMode`, *optional*):
|
parse_mode (:obj:`~pyrogram.enums.ParseMode`, *optional*):
|
||||||
The parse mode, can be any of: *"combined"*, for the default combined mode. *"markdown"* or *"md"*
|
Set the global parse mode of the client. By default, texts are parsed using both Markdown and HTML styles.
|
||||||
to force Markdown-only styles. *"html"* to force HTML-only styles. *None* to disable the parser
|
You can combine both syntaxes together.
|
||||||
completely.
|
|
||||||
|
|
||||||
no_updates (``bool``, *optional*):
|
no_updates (``bool``, *optional*):
|
||||||
Pass True to completely disable incoming updates for the current session.
|
Pass True to disable incoming updates.
|
||||||
When updates are disabled your client can't receive any new message.
|
When updates are disabled the client can't receive messages or other updates.
|
||||||
Useful for batch programs that don't need to deal with updates.
|
Useful for batch programs that don't need to deal with updates.
|
||||||
Defaults to False (updates enabled and always received).
|
Defaults to False (updates enabled and received).
|
||||||
|
|
||||||
takeout (``bool``, *optional*):
|
takeout (``bool``, *optional*):
|
||||||
Pass True to let the client use a takeout session instead of a normal one, implies *no_updates=True*.
|
Pass True to let the client use a takeout session instead of a normal one, implies *no_updates=True*.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue