\\文本消息
{
"msgtype": "text",
"text": {
"content": "张三的请假申请"
}
}
\\图片消息
{
"msgtype": "image",
"image": {
"media_id": "MEDIA_ID"
}
}
\\文件消息
{
"msgtype": "file",
"file": {
"media_id": "MEDIA_ID"
}
}
\\语音消息
{
"msgtype": "voice",
"voice": {
"media_id": "MEDIA_ID",
"duration": "10"
}
}
\\链接消息
{
"msgtype": "link",
"link": {
"messageUrl": "http://s.dingtalk.com/market/dingtalk/error_code.php",
"picUrl":"@lALOACZwe2Rk",
"title": "测试",
"text": "测试"
}
}
\\markdown消息
{
"msgtype": "markdown",
"markdown": {
"title": "首屏会话透出的展示内容",
"text": "# 这是支持markdown的文本 \n## 标题2 \n* 列表1 \n![alt 啊](https://img.alicdn.com/tps/TB1XLjqNVXXXXc4XVXXXXXXXXXX-170-64.png)"
}
}
\\整体跳转ActionCard消息
{
"msgtype": "action_card",
"action_card": {
"title": "是透出到会话列表和通知的文案",
"markdown": "支持markdown格式的正文内容",
"single_title": "查看详情",
"single_url": "https://open.dingtalk.com"
}
}