mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-18 04:20:57 +03:00
Use __call__() instead invoke()
parent
67b79b248e
commit
9292ddd633
|
@ -11,7 +11,7 @@ chats = []
|
|||
last_date = None
|
||||
chunk_size = 20
|
||||
while True:
|
||||
result = client.invoke(GetDialogsRequest(
|
||||
result = client(GetDialogsRequest(
|
||||
offset_date=last_date,
|
||||
offset_id=0,
|
||||
offset_peer=InputPeerEmpty(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user