mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 05:04:51 +00:00
Fix iter_profile_photos wrong hinted return type
This commit is contained in:
parent
89860a4b4c
commit
928c8acd01
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class IterProfilePhotos(Scaffold):
|
|||
chat_id: Union[int, str],
|
||||
offset: int = 0,
|
||||
limit: int = 0,
|
||||
) -> Optional[AsyncGenerator["types.Message", None]]:
|
||||
) -> Optional[AsyncGenerator["types.Photo", None]]:
|
||||
"""Iterate through a chat or a user profile photos sequentially.
|
||||
|
||||
This convenience method does the same as repeatedly calling :meth:`~pyrogram.Client.get_profile_photos` in a
|
||||
|
|
|
|||
Loading…
Reference in a new issue