mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Add stop method for Client
This commit is contained in:
parent
746a4b685f
commit
6fd8e960ec
@ -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 = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user