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.rnd_id = self.session.msg_id
|
||||||
self.get_dialogs()
|
self.get_dialogs()
|
||||||
|
|
||||||
|
def stop(self):
|
||||||
|
self.session.stop()
|
||||||
|
|
||||||
def get_dialogs(self):
|
def get_dialogs(self):
|
||||||
peers = []
|
peers = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user