We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35df2cc commit 97bd544Copy full SHA for 97bd544
1 file changed
pyrogram/methods/advanced/save_file.py
@@ -54,8 +54,9 @@ async def save_file(
54
available yet in the Client class as an easy-to-use method).
55
56
Parameters:
57
- path (``str``):
58
- The path of the file you want to upload that exists on your local machine.
+ path (``str`` | ``BinaryIO``):
+ The path of the file you want to upload that exists on your local machine or a binary file-like object
59
+ with its attribute ".name" set for in-memory uploads.
60
61
file_id (``int``, *optional*):
62
In case a file part expired, pass the file_id and the file_part to retry uploading that specific chunk.
0 commit comments