2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-30 13:57:54 +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

View File

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