触发敏感词生成记录消息推送
在企微管家中发生触发敏感词记录时推送此消息,type=41
{
"message_id": "1840175443711639553",
"type": 41,
"content": "[{\"tenant_id\":\"test_055c163b3c9c\",\"msg_id\":\"test_75ce3f5c1115\",\"msg_time\":16,\"create_time\":18,\"user_id\":\"test_8d125d25b937\",\"user_type\":1,\"receiver_id\":\"test_7294b51e5af6\",\"receiver_type\":1,\"sensitive_strategy_id\":2,\"strategy_name\":\"test_6de6452765f3\",\"sensitive_id\":45,\"sensitive_name\":\"test_7f3f65f02767\",\"sensitive_rule_type\":1},{\"tenant_id\":\"test_055c163b3c9c\",\"msg_id\":\"test_75ce3f5c1115\",\"msg_time\":16,\"create_time\":18,\"user_id\":\"test_8d125d25b937\",\"user_type\":1,\"receiver_id\":\"test_7294b51e5af6\",\"receiver_type\":1,\"sensitive_strategy_id\":2,\"strategy_name\":\"test_6de6452765f3\",\"sensitive_id\":45,\"sensitive_name\":\"test_7f3f65f02767\",\"sensitive_rule_type\":1}]",
"gmt_create": 1656041415
}
业务参数说明:
参数 | 类型 | 说明 |
---|---|---|
tenant_id | string | 三方应用企业id |
msg_id | string | 消息id |
seq | long | 消息的seq值,标识消息的序号 |
user_type | int | 发送方类型,1-微信客户,2-外部企业客户,3-员工 |
user_id | string | 自建发送方id |
receiver_type | int | 接收方类型,1-微信客户,2-外部企微客户,3-员工,4-内部群,5-客户群,6-外部群,7-私有化企业微信客户,8-机器人 |
receiver_id | string | 自建接收方id |
sensitive_strategy_id | long | 敏感词组id |
strategy_name | string | 敏感词组名称 |
sensitive_id | long | 敏感词id |
sensitive_name | string | 敏感词名称 |
sensitive_rule_type | int | 敏感规则类型:1.自定义敏感规则;2.AI敏感规则;4.行业词库 |
gmt_create | long | 触发时间,时间戳,精度:秒 |
msg_time | long | 消息时间,时间戳,精度:毫秒 |
PS:content的value值是集合