Implemented the ChatActionHandler.