The government has issued guidelines prohibiting the publishing of sexual or vulgar content across messaging app WeChat.