diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index fbb38131..6ef412ff 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -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) ) )