diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 855bb1d6..d6979c6d 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -268,6 +268,9 @@ class Client: self.rnd_id = self.session.msg_id self.get_dialogs() + def stop(self): + self.session.stop() + def get_dialogs(self): peers = []