From 7ed9cd6759dd18cabf037fe5014f669c81a19e9a Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 27 Jun 2018 14:42:04 +0200 Subject: [PATCH] Add "Login successful" message upon login --- pyrogram/client/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index f21d2ef2..20a3e50c 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -585,6 +585,8 @@ class Client(Methods, BaseClient): self.password = None self.user_id = r.user.id + print("Login successful") + def fetch_peers(self, entities: list): for entity in entities: if isinstance(entity, types.User):