Add more docstrings to stream_media

This commit is contained in:
Dan 2022-04-24 11:56:07 +02:00
parent ef78900fdb
commit 74f970e863

View File

@ -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``):