open.wework.api.send
按模板推送消息到群聊
- 请求路由:
open.wework.api.send- 交互模型:
Request Response按模板推送消息到群聊
请求
RSocket.rr({
route: 'open.wework.api.send',
args: {
uri: '/appchat/send',
},
data: {
funId: "10126",
organizer: "@yang",
type: "ticket",
participant: "@fanglh、@yangshb",
theme: "测试问题沟通"
}
})
请求参数
| 属性 | 类型 | 默认值 | 必须 | 说明 |
|---|---|---|---|---|
| uri | string | 是 | 微信接口路径 | |
| organizer | string | 是 | 组织者 | |
| participant | string | 是 | 参与者 | |
| type | string | 是 | 售后群聊(ticket)建设群聊(construction) | |
| funId | string | 是 | 功能点id | |
| theme | string | 是 | 沟通主题 |
返回
{
"errcode": 0,
"errmsg": "ok"
}
返回属性
文档地址:https://developer.work.weixin.qq.com/document/path/90664
错误码
| 值 | 说明 |
|---|---|
| 10400 | 请传输正确的类型! |