mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-30 05:48:14 +00:00
Add docstrings for workdir parameter
This commit is contained in:
parent
32700f8e11
commit
7054310138
@ -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…
x
Reference in New Issue
Block a user