The Chinese are not fond of President-elect Donald Trump's Twitter prowess — and they're speaking out against it from the country's official news agency.

Xinhua, China's most influential state-run news outlet, published a scathing rebuke of Trump's "Twitter diplomacy," saying his obsession with the social media site was "undesirable."

They added:

It is ... commonly accepted that diplomacy is not a child's game — and even less is it business dealing. As former United States Secretary of State [Madeleine] Albright said, Twitter should not be a tool for foreign policy.

The statement was likely in response to Trump's recent tweets criticizing China, including this one from Monday:

This was an extension of the verbal attacks Trump had constantly made during his presidential campaign, saying that China was cheating America through bad trade deals, and not doing enough to rein in their communist neighbor North Korea.

CNN reported the statement Thursday morning:

China tells Donald Trump to lay off Twitter: https://t.co/ntypptQ1Tg https://t.co/bzft81vztV — New Day (@NewDay) January 5, 2017

Trump has roiled relations with China by criticizing their "unprecedented" seizure of a U.S. underwater drone, breaking decades of established U.S. foreign policy by communicating with Taiwan, and using Twitter to slam their currency devaluation and expansionism into the South China Sea.

This wasn't the first time the Chinese had shot back against Trump's "Twitter diplomacy." In November, they mocked Trump's claim that global warming was invented by China.

The president-elect is now weighing whether to to impose tariffs on China by executive action once he moves into the White House and assumes presidential power.