mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Fix GetDialog call
This commit is contained in:
parent
c7489cf302
commit
8bdccda6ee
1 changed files with 6 additions and 2 deletions
|
|
@ -983,8 +983,12 @@ class Client(Methods, BaseClient):
|
||||||
try:
|
try:
|
||||||
r = self.send(
|
r = self.send(
|
||||||
functions.messages.GetDialogs(
|
functions.messages.GetDialogs(
|
||||||
offset_date, 0, types.InputPeerEmpty(),
|
offset_date=offset_date,
|
||||||
self.DIALOGS_AT_ONCE, True
|
offset_id=0,
|
||||||
|
offset_peer=types.InputPeerEmpty(),
|
||||||
|
limit=self.DIALOGS_AT_ONCE,
|
||||||
|
hash=0,
|
||||||
|
exclude_pinned=True
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
except FloodWait as e:
|
except FloodWait as e:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue