- 发送大视频文件
-
参数名 必选 类型 说明 uuid 是 String 每个实例的唯一标识,根据uuid操作具体企业微信 send_userid 是 long 要发送的人或群id isRoom 是 bool 是否是群消息
请求示例
{
"uuid":"1688853790xxx", //uuid 默认随机生成如果初始化传了id则用初始化的id作为uuid
"send_userid":78813025xxx8,
"cdnkey":"*1*u3W2k/2+7TigF3ieM2JYWY12fJ0m+w80zO84cIONH6YTO1P6L92K6u8yQCjGfAlJ8SxDBE/+9OD0s6neeXIErix3BGU8/AzaPPEEOPUkSQwO77/=",
"file_name":"d8f0a590e1x7e5d0265b5ae.MP4",
"md5":"976A026AB9Bx75514A39E5C0",
"video_duration":178,
"fileSize":63647298,
"imgurl":"https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png",//视频封面图
"isRoom":false
}
返回示例
{
"data": {
"receiver": 7881302333338,
"cdn_Key": "*1*u3W2k/2+7TigF3icccYV28gBh3eTguzdQNDSvTsX6weXFApoG+/77GX1EC1yqSKYkW1jQp2mVi3u8NfqEAyHheXZYwmvCoV85QMvmxIKd0XXTxIjAdQhZJ4lVVo5euOjRmr7s=",
"sender_name": "",
"file_name": "d8f0a59cccb0a7e5d0265b5ae.MP4",
"is_room": 0,
"server_id": 12781142,
"size": 178,
"sender": 16888xxx,
"aes_key": "",
"sendtime": 1676876091,
"msg_id": 1112326,
"msgtype": 22,
"md5": ""
},
"errcode": 0,
"errmsg": "ok"
}
支持语言
c# python java .net js go c++ 等主流语言
测试地址及文档获取
string wechat = "lxllxllxl567";