mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +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…
Reference in New Issue
Block a user