WeChat.MiniProgram.Security.msg_check

You're seeing just the function msg_check, go back to WeChat.MiniProgram.Security module for more information.
Link to this function

msg_check(client, content)

Specs

msg_check(WeChat.client(), content :: String.t()) :: WeChat.response()

文本检测

检查一段文本是否含有违法违规内容。

应用场景举例

  • 用户个人资料违规文字检测;
  • 媒体新闻类用户发表文章,评论内容检测;
  • 游戏类用户编辑上传的素材(如答题类小游戏用户上传的问题及答案)检测等。

频率限制:单个 appId 调用上限为 4000 次/分钟,2,000,000 次/天