发送消息/发送视频号消息
简要描述
请求URL
http://127.0.0.1:8888/api/
请求方式
参数
参数名 | 必选 | 类型 | 说明 |
---|
type | 是 | int | 接口编号 |
userName | 是 | string | 消息接收人wxid |
objectId | 是 | string | 作品Id |
objectNonceId | 是 | string | 作品NonceId |
bAsync | 否 | bool | 如果将该参数设置为true,则任务不再阻塞,接口响应内容会通过消息处理器返回,消息推送类型为0<br/>如果提供了asyncUserData参数,会随调用结果一起推送 |
asyncUserData | 否 | str | xxxx |
请求示例
{
"type": 10109,
"userName": "filehelper",
"objectId": "14356658799774275868",
"objectNonceId": "11517549526067049881_3_17_8_1_1713457417837126"
}
返回示例
{
"data": {
"status": 0,
"desc": "",
}
}
返回参数说明
参数名 | 类型 | 说明 |
---|
error_code | int | 错误代码 |
description | string | 错误描述 |
data | json | 业务数据 |
备注