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:
parent
fe6c5e542d
commit
1ade49a13a
@ -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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user