From 2e81a2369da272f7965eb5c25a7564776077eea1 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 30 Apr 2018 20:25:45 +0200 Subject: [PATCH] Make download_media hint string as acceptable type --- pyrogram/client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index bbb476f9..6cc6ffe3 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -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):