mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Hint about the returned value in case of stopped downloads
This commit is contained in:
parent
b37d4dc7ec
commit
2791600926
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ class DownloadMedia(BaseClient):
|
|||
|
||||
Returns:
|
||||
On success, the absolute path of the downloaded file as string is returned, None otherwise.
|
||||
In case the download is deliberately stopped with :meth:`stop_transmission`, None is returned as well.
|
||||
|
||||
Raises:
|
||||
:class:`Error <pyrogram.Error>` in case of a Telegram RPC error.
|
||||
|
|
|
|||
Loading…
Reference in a new issue