function processChatGroupState(state, preProcessed) {
	if (state === null) {
		return state;
	}

	if (!preProcessed) {
		state = preProcessObject(state);
	}

	state.chat_rooms = (state.chat_rooms || []).map(v => processChatRoomState(v, true));
	return state;
}
@param {object} state
@param {boolean} [preProcessed=false]
@returns {ChatRoomGroupState}