mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Update iter_ usages with get_
This commit is contained in:
@@ -75,7 +75,7 @@ class ChatGetter(abc.ABC):
|
||||
try:
|
||||
# The chat may be recent, look in dialogs
|
||||
target = self.chat_id
|
||||
async for d in self._client.iter_dialogs(100):
|
||||
async for d in self._client.get_dialogs(100):
|
||||
if d.id == target:
|
||||
self._chat = d.entity
|
||||
self._input_chat = d.input_entity
|
||||
|
Reference in New Issue
Block a user