Fallback to "typing" instead of throwing an error

This commit is contained in:
Dan 2017-12-07 02:11:35 +01:00
parent 88bc7b59a1
commit 28c3a07d84

View File

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