Make download_media hint string as acceptable type

This commit is contained in:
Dan 2018-04-30 20:25:45 +02:00
parent 35e1a76cef
commit 2e81a2369d

View File

@ -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):