格式化发送@消息
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
uuid | 是 | String | 每个实例的唯一标识,根据uuid操作具体企业微信 |
send_userid | 是 | long | 要发送的人或群id |
isRoom | 是 | bool | 是否是群消息 |
请求示例
{"uuid":"1688853790599424","send_userid":10696052955016139,"contentva":[{"msgtype":0,"content":"测试艾特消息"},{"msgtype":5,"vid":788130xx38}],"isRoom":true
}
返回示例
{"data": {"receiver": 0,"sender": 1688853790599424,"at_list": [{"user_id": 7881302555913738,"nikeName": ""}],"sender_name": "","room_conversation_id": 10696052955016139,"is_room": 1,"sendtime": 1680446975,"msg_id": 1119421,"server_id": 12884902,"msgtype": 2,"content": "测试艾特消息"},"errcode": 0,"errmsg": "ok"
}
支持语言
c# python java .net js go c++ 等主流语言
测试地址及文档获取
string wechat = "lxllxllxl567";