mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 13:14:52 +00:00
Add more docstrings to stream_media
This commit is contained in:
parent
ef78900fdb
commit
74f970e863
1 changed files with 2 additions and 1 deletions
|
|
@ -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``):
|
||||
|
|
|
|||
Loading…
Reference in a new issue