refactor: group: parse messages sent to groupchats via get-msg-type