| 程序包 | 说明 |
|---|---|
| com.admin4j.chatbot.dingtalk | |
| com.admin4j.chatbot.dingtalk.request |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DingRobot.send(AbstractRobotRequest request)
// 消息内容中不包含任何关键词
{
"errcode":310000,
"errmsg":"keywords not in content"
}
// timestamp 无效
{
"errcode":310000,
"errmsg":"invalid timestamp"
}
// 签名不匹配
{
"errcode":310000,
"errmsg":"sign not match"
}
// IP地址不在白名单
{
"errcode":310000,
"errmsg":"ip X.X.X.X not in whitelist"
}
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ActionCardRobotRequest
https://help-static-aliyun-doc.aliyuncs.com/assets/img/zh-CN/4099076061/p131227.png
|
class |
FeedCardRobotRequest
https://help-static-aliyun-doc.aliyuncs.com/assets/img/zh-CN/5099076061/p131219.png
|
class |
LinkRobotRequest
https://help-static-aliyun-doc.aliyuncs.com/assets/img/zh-CN/4099076061/p131227.png
|
class |
MarkdownRobotRequest
https://help-static-aliyun-doc.aliyuncs.com/assets/img/zh-CN/4099076061/p131227.png
|
class |
TextRobotRequest |
Copyright © 2022. All rights reserved.