Skip to content

Commit 74f970e

Browse files
committed
Add more docstrings to stream_media
1 parent ef78900 commit 74f970e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyrogram/methods/messages/stream_media.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ async def stream_media(
3232
) -> Optional[Union[str, BinaryIO]]:
3333
"""Stream the media from a message chunk by chunk.
3434
35-
The chunk size is 1 MiB (1024 * 1024 bytes).
35+
You can use this method to partially download a file into memory or to selectively download chunks of file.
36+
The chunk maximum size is 1 MiB (1024 * 1024 bytes).
3637
3738
Parameters:
3839
message (:obj:`~pyrogram.types.Message` | ``str``):

0 commit comments

Comments
 (0)