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:
parent
ecaba45523
commit
7ed9cd6759
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user