We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89860a4 commit 928c8acCopy full SHA for 928c8ac
1 file changed
pyrogram/methods/users/iter_profile_photos.py
@@ -28,7 +28,7 @@ async def iter_profile_photos(
28
chat_id: Union[int, str],
29
offset: int = 0,
30
limit: int = 0,
31
- ) -> Optional[AsyncGenerator["types.Message", None]]:
+ ) -> Optional[AsyncGenerator["types.Photo", None]]:
32
"""Iterate through a chat or a user profile photos sequentially.
33
34
This convenience method does the same as repeatedly calling :meth:`~pyrogram.Client.get_profile_photos` in a
0 commit comments