mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-30 13:57:54 +00:00
Merge branch 'develop' into plugins
# Conflicts: # pyrogram/client/client.py # pyrogram/client/ext/base_client.py
This commit is contained in:
@@ -162,8 +162,8 @@ class Client(Methods, BaseClient):
|
||||
first_name: str = None,
|
||||
last_name: str = None,
|
||||
workers: int = 4,
|
||||
workdir: str = ".",
|
||||
config_file: str = "./config.ini",
|
||||
workdir: str = BaseClient.WORKDIR,
|
||||
config_file: str = BaseClient.CONFIG_FILE,
|
||||
plugins_dir: str = BaseClient.PLUGINS_DIR):
|
||||
super().__init__()
|
||||
|
||||
|
@@ -49,6 +49,8 @@ class BaseClient:
|
||||
UPDATES_WORKERS = 1
|
||||
DOWNLOAD_WORKERS = 1
|
||||
OFFLINE_SLEEP = 300
|
||||
WORKDIR = "."
|
||||
CONFIG_FILE = "./config.ini"
|
||||
PLUGINS_DIR = "./plugins"
|
||||
|
||||
MEDIA_TYPE_ID = {
|
||||
|
Reference in New Issue
Block a user