跳到主要内容

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: "测试问题沟通"
}
})

请求参数​

属性类型默认值必须说明
uristring是微信接口路径
organizerstring是组织者
participantstring是参与者
typestring是售后群聊(ticket)建设群聊(construction)
funIdstring是功能点id
themestring是沟通主题

返回​

{
"errcode": 0,
"errmsg": "ok"
}

返回属性​

文档地址:https://developer.work.weixin.qq.com/document/path/90664

错误码​

值说明
10400请传输正确的类型!