mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-09-18 18:02:51 +03:00
Update messages.py - fix type hint for iter_messages(limit)
limit: float -> limit: int
This commit is contained in:
parent
a28e757dc3
commit
71403452f3
|
@ -346,7 +346,7 @@ class MessageMethods:
|
|||
def iter_messages(
|
||||
self: 'TelegramClient',
|
||||
entity: 'hints.EntityLike',
|
||||
limit: float = None,
|
||||
limit: int = None,
|
||||
*,
|
||||
offset_date: 'hints.DateLike' = None,
|
||||
offset_id: int = 0,
|
||||
|
|
Loading…
Reference in New Issue
Block a user