mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Add more docstrings to stream_media
This commit is contained in:
parent
ef78900fdb
commit
74f970e863
@ -32,7 +32,8 @@ class StreamMedia:
|
|||||||
) -> Optional[Union[str, BinaryIO]]:
|
) -> Optional[Union[str, BinaryIO]]:
|
||||||
"""Stream the media from a message chunk by chunk.
|
"""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:
|
Parameters:
|
||||||
message (:obj:`~pyrogram.types.Message` | ``str``):
|
message (:obj:`~pyrogram.types.Message` | ``str``):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user