From 74f970e8637abfc81d3539237a6ebdb266079830 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 24 Apr 2022 11:56:07 +0200 Subject: [PATCH] Add more docstrings to stream_media --- pyrogram/methods/messages/stream_media.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyrogram/methods/messages/stream_media.py b/pyrogram/methods/messages/stream_media.py index 0daaa556..ea41b7bc 100644 --- a/pyrogram/methods/messages/stream_media.py +++ b/pyrogram/methods/messages/stream_media.py @@ -32,7 +32,8 @@ class StreamMedia: ) -> Optional[Union[str, BinaryIO]]: """Stream the media from a message chunk by chunk. - The chunk size is 1 MiB (1024 * 1024 bytes). + You can use this method to partially download a file into memory or to selectively download chunks of file. + The chunk maximum size is 1 MiB (1024 * 1024 bytes). Parameters: message (:obj:`~pyrogram.types.Message` | ``str``):