- 发送CDN语音消息
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
uuid | 是 | String | 每个实例的唯一标识,根据uuid操作具体企业微信 |
send_userid | 是 | long | 要发送的人或群id |
isRoom | 是 | bool | 是否是群消息 |
请求示例
{
"uuid":"1753cdff-0501-42fe-bb5a-2a4b9629f7fb",
"send_userid":7881302555913738,
"cdnkey":"308180020102047930770201000204bf366e0a02031e90380204afdf892b0204626d903d044c333230383031353337305f36353646373236463737363537303633363136313643363336373733373136325f34643061383739323537383238643361376636323565336234373835383961330201000202145004000201050201000400",
"aeskey":"656F726F7765706361616C6367737162",
"md5":"4d0a879257828d3a7f625e3b478589a3",
"voice_time":4,
"fileSize":5184,
"isRoom":false
}
返回示例
{
"data": {
"receiver": 7881302555913738,
"cdn_key": "308180020102047930770201000204bf366e0a02031e90380204afdf892b0204626d903d044c333230383031353337305f36353646373236463737363537303633363136313643363336373733373136325f34643061383739323537383238643361376636323565336234373835383961330201000202145004000201050201000400",
"file_name": "",
"sender_name": "",
"is_room": 0,
"server_id": 12381207,
"size": 5184,
"sender": 1688853790599424,
"aes_key": "656F726F7765706361616C6367737162",
"sendtime": 1652169528,
"msg_id": 1066239,
"msgtype": 16,
"md5": "4d0a879257828d3a7f625e3b478589a3"
},
"errcode": 0,
"errmsg": "ok"
}
支持语言
c# python java .net js go c++ 等主流语言
测试地址及文档获取
string wechat = "lxllxllxl567";