From e79f4fde80db5f37a5c6b96e080af16a62e2554c Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 28 Mar 2019 14:01:38 +0100 Subject: [PATCH] Fix send_chat_action not working with upload_* actions --- pyrogram/client/methods/messages/send_chat_action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/methods/messages/send_chat_action.py b/pyrogram/client/methods/messages/send_chat_action.py index cdd61df3..04777d42 100644 --- a/pyrogram/client/methods/messages/send_chat_action.py +++ b/pyrogram/client/methods/messages/send_chat_action.py @@ -62,7 +62,7 @@ class SendChatAction(BaseClient): action = action.value if "Upload" in action.__name__: - action = action(progress) + action = action(progress=progress) else: action = action()