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:
@@ -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.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user