mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Make download_media hint string as acceptable type
This commit is contained in:
parent
35e1a76cef
commit
2e81a2369d
@ -3400,7 +3400,7 @@ class Client:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def download_media(self,
|
def download_media(self,
|
||||||
message: pyrogram_types.Message,
|
message: pyrogram_types.Message or str,
|
||||||
file_name: str = "",
|
file_name: str = "",
|
||||||
block: bool = True,
|
block: bool = True,
|
||||||
progress: callable = None):
|
progress: callable = None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user