mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Call GetState for bots
This commit is contained in:
parent
6d536107ae
commit
839f7b99f4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user