新闻官 is mainly used for in-house press officers attached to sports teams, military units, embassies, or organizations - the person who handles routine media liaison. For the more politically-loaded role of government 'spokesperson', the standard term is
发言人.