Update messages.py - fix type hint for iter_messages(limit)

limit: float -> limit: int
This commit is contained in:
Reliable Magician 2025-08-31 02:08:41 +02:00 committed by GitHub
parent a28e757dc3
commit 71403452f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,