mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-27 16:45:19 +00:00
Fallback to "typing" instead of throwing an error
This commit is contained in:
parent
88bc7b59a1
commit
28c3a07d84
@ -473,7 +473,8 @@ class Client:
|
||||
functions.messages.SetTyping(
|
||||
peer=self.resolve_peer(chat_id),
|
||||
action=self.CHAT_ACTIONS.get(
|
||||
action.lower()
|
||||
action.lower(),
|
||||
types.SendMessageTypingAction
|
||||
)(progress=progress)
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user