A player's level is not available from just a chat event. The only way you used to get it is from convoluted usage of the /who api, but both retail and classic now has that protected behind a hardware event.
For class info, pass the 12th argument from the chat event, the player's GUID, into
GetPlayerInfoByGUID.