mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-10 16:44:50 +00:00
Add docstrings for workdir parameter
This commit is contained in:
parent
32700f8e11
commit
7054310138
1 changed files with 4 additions and 0 deletions
|
|
@ -119,6 +119,10 @@ class Client:
|
||||||
|
|
||||||
workers (``int``, optional):
|
workers (``int``, optional):
|
||||||
Thread pool size for handling incoming updates. Defaults to 4.
|
Thread pool size for handling incoming updates. Defaults to 4.
|
||||||
|
|
||||||
|
workdir (``str``, optional):
|
||||||
|
Define a custom working directory. The working directory is the location in your filesystem
|
||||||
|
where Pyrogram will store your session files. Defaults to "." (current directory).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
INVITE_LINK_RE = re.compile(r"^(?:https?://)?(?:t\.me/joinchat/)([\w-]+)$")
|
INVITE_LINK_RE = re.compile(r"^(?:https?://)?(?:t\.me/joinchat/)([\w-]+)$")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue