Skip to content

Commit 7b85393

Browse files
authored
Update message.py: add BinaryIO return-type hint in download() (#117)
1 parent 4c0e571 commit 7b85393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrogram/types/messages_and_media/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5294,7 +5294,7 @@ async def download(
52945294
block: bool = True,
52955295
progress: Callable = None,
52965296
progress_args: tuple = ()
5297-
) -> str:
5297+
) -> Union[str, BinaryIO]:
52985298
"""Bound method *download* of :obj:`~pyrogram.types.Message`.
52995299
53005300
Use as a shortcut for:

0 commit comments

Comments
 (0)