2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-31 22:35:36 +00:00

Merge branch 'master' into dispatcher

This commit is contained in:
Dan
2018-04-08 13:21:30 +02:00

View File

@@ -147,7 +147,7 @@ class Client:
last_name: str = None,
workers: int = 4):
self.session_name = session_name
self.api_id = int(api_id)
self.api_id = int(api_id) if api_id else None
self.api_hash = api_hash
self.proxy = proxy
self.test_mode = test_mode