mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 07:54:52 +00:00
Fix send_chat_action not working with upload_* actions
This commit is contained in:
parent
e05a5ebf6f
commit
e79f4fde80
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ class SendChatAction(BaseClient):
|
||||||
action = action.value
|
action = action.value
|
||||||
|
|
||||||
if "Upload" in action.__name__:
|
if "Upload" in action.__name__:
|
||||||
action = action(progress)
|
action = action(progress=progress)
|
||||||
else:
|
else:
|
||||||
action = action()
|
action = action()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue