mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +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]]:
|
||||
"""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 New Issue
Block a user