mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-02 07:15:23 +00:00
Call GetState for bots
This commit is contained in:
@@ -201,6 +201,8 @@ class Client:
|
||||
if self.token is None:
|
||||
self.get_dialogs()
|
||||
self.get_contacts()
|
||||
else:
|
||||
self.send(functions.updates.GetState())
|
||||
|
||||
self.rnd_id = MsgId
|
||||
|
||||
|
Reference in New Issue
Block a user