2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-10 11:15:27 +00:00

Add bot_token argument (#221)

* Add bot_token argument (closes #123)

* Make session_name docs more readable and detailed

* Explicitely set is_bot=False
This commit is contained in:
bakatrouble
2019-03-01 20:30:39 +03:00
committed by Dan
parent 87c4d08d9c
commit f84f9ec4df
3 changed files with 25 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ class BaseClient:
}
def __init__(self):
self.bot_token = None
self.is_bot = None
self.dc_id = None
self.auth_key = None
self.user_id = None