mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Fix send_chat_action not working with upload_* actions
This commit is contained in:
parent
e05a5ebf6f
commit
e79f4fde80
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user