Fix send_chat_action not working with upload_* actions

This commit is contained in:
Dan 2019-03-28 14:01:38 +01:00
parent e05a5ebf6f
commit e79f4fde80

View File

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