From 7054310138eff360988ef2018821b729d97bb380 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 22 Apr 2018 12:41:50 +0200 Subject: [PATCH] Add docstrings for workdir parameter --- pyrogram/client/client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index dc24b6ae..ce7f4a27 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -119,6 +119,10 @@ class Client: workers (``int``, optional): 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-]+)$")