mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Don't make iter_messages a coroutine function
This commit is contained in:
parent
35dc46ffb0
commit
60606b9994
|
@ -250,7 +250,7 @@ class MessageMethods(UploadMethods, ButtonMethods, MessageParseMethods):
|
|||
|
||||
# region Message retrieval
|
||||
|
||||
async def iter_messages(
|
||||
def iter_messages(
|
||||
self, entity, limit=None, *, offset_date=None, offset_id=0,
|
||||
max_id=0, min_id=0, add_offset=0, search=None, filter=None,
|
||||
from_user=None, batch_size=100, wait_time=None, ids=None,
|
||||
|
|
Loading…
Reference in New Issue
Block a user