mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 05:04:51 +00:00
Make download_media hint string as acceptable type
This commit is contained in:
parent
35e1a76cef
commit
2e81a2369d
1 changed files with 1 additions and 1 deletions
|
|
@ -3400,7 +3400,7 @@ class Client:
|
|||
return False
|
||||
|
||||
def download_media(self,
|
||||
message: pyrogram_types.Message,
|
||||
message: pyrogram_types.Message or str,
|
||||
file_name: str = "",
|
||||
block: bool = True,
|
||||
progress: callable = None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue