mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Fallback to "typing" instead of throwing an error
This commit is contained in:
parent
88bc7b59a1
commit
28c3a07d84
1 changed files with 2 additions and 1 deletions
|
|
@ -473,7 +473,8 @@ class Client:
|
||||||
functions.messages.SetTyping(
|
functions.messages.SetTyping(
|
||||||
peer=self.resolve_peer(chat_id),
|
peer=self.resolve_peer(chat_id),
|
||||||
action=self.CHAT_ACTIONS.get(
|
action=self.CHAT_ACTIONS.get(
|
||||||
action.lower()
|
action.lower(),
|
||||||
|
types.SendMessageTypingAction
|
||||||
)(progress=progress)
|
)(progress=progress)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue