mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-16 18:16:39 +00:00
Fix iter_messages with ids= not being a list
This commit is contained in:
parent
70e0d865a8
commit
2681dc09bb
@ -232,7 +232,7 @@ class _IDsIter(RequestIter):
|
||||
if entity:
|
||||
entity = await self.client.get_input_entity(entity)
|
||||
|
||||
self.total = len(ids)
|
||||
self.total = len(self.ids)
|
||||
|
||||
from_id = None # By default, no need to validate from_id
|
||||
if isinstance(entity, (types.InputChannel, types.InputPeerChannel)):
|
||||
|
Loading…
Reference in New Issue
Block a user