2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 05:18:10 +00:00

Add "Login successful" message upon login

This commit is contained in:
Dan 2018-06-27 14:42:04 +02:00
parent ecaba45523
commit 7ed9cd6759

View File

@ -585,6 +585,8 @@ class Client(Methods, BaseClient):
self.password = None self.password = None
self.user_id = r.user.id self.user_id = r.user.id
print("Login successful")
def fetch_peers(self, entities: list): def fetch_peers(self, entities: list):
for entity in entities: for entity in entities:
if isinstance(entity, types.User): if isinstance(entity, types.User):