2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 13:27:47 +00:00

Fix error on serializing None when int is expected

This commit is contained in:
Dan 2019-08-26 22:09:36 +02:00 committed by GitHub
parent fe6c5e542d
commit 1ade49a13a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ class IterDialogs(BaseClient):
async def iter_dialogs(
self,
limit: int = 0,
offset_date: int = None
offset_date: int = 0
) -> Optional[Generator["pyrogram.Dialog", None, None]]:
"""Iterate through a user's dialogs sequentially.