mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
Fix error on serializing None when int is expected
This commit is contained in:
parent
fe6c5e542d
commit
1ade49a13a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue