2021-06-03 10:39:03 +08:00
|
|
|
|
{
|
|
|
|
|
"touser": "UserID1|UserID2|UserID3",
|
|
|
|
|
"toparty": "1|2",
|
|
|
|
|
"totag": "3|4",
|
|
|
|
|
"msgtype": "text",
|
|
|
|
|
"agentid": 1,
|
|
|
|
|
"text": {
|
|
|
|
|
"content": "你的快递已到,请携带工卡前往邮件中心领取。\n出发前可查看<a href=\"http://work.weixin.qq.com\">邮件中心视频实况</a>,聪明避开排队。"
|
|
|
|
|
},
|
|
|
|
|
"image": {
|
|
|
|
|
"media_id": "MEDIA_ID"
|
|
|
|
|
},
|
|
|
|
|
"voice": {
|
|
|
|
|
"media_id": "MEDIA_ID"
|
|
|
|
|
},
|
|
|
|
|
"video": {
|
|
|
|
|
"media_id": "MEDIA_ID",
|
|
|
|
|
"title": "Title",
|
|
|
|
|
"description": "Description"
|
|
|
|
|
},
|
|
|
|
|
"file": {
|
|
|
|
|
"media_id": "1Yv-zXfHjSjU-7LH-GwtYqDGS-zz6w22KmWAT5COgP7o"
|
|
|
|
|
},
|
|
|
|
|
"textcard": {
|
|
|
|
|
"title": "领奖通知",
|
|
|
|
|
"description": "<div class=\"gray\">2016年9月26日</div> <div class=\"normal\">恭喜你抽中iPhone 7一台,领奖码:xxxx</div><div class=\"highlight\">请于2016年10月10日前联系行政同事领取</div>",
|
|
|
|
|
"url": "URL",
|
|
|
|
|
"btntxt": "更多"
|
|
|
|
|
},
|
|
|
|
|
"news": {
|
|
|
|
|
"articles": [
|
|
|
|
|
{
|
|
|
|
|
"title": "中秋节礼品领取",
|
|
|
|
|
"description": "今年中秋节公司有豪礼相送",
|
|
|
|
|
"url": "URL",
|
2021-08-20 00:29:41 +08:00
|
|
|
|
"picurl": "http://res.mail.qq.com/node/ww/wwopenmng/images/independent/doc/test_pic_msg1.png",
|
|
|
|
|
"appid": "wx123123123123123",
|
|
|
|
|
"pagepath": "pages/index?userid=zhangsan&orderid=123123123"
|
2021-06-03 10:39:03 +08:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"mpnews": {
|
|
|
|
|
"articles": [
|
|
|
|
|
{
|
|
|
|
|
"title": "Title",
|
|
|
|
|
"thumb_media_id": "MEDIA_ID",
|
|
|
|
|
"author": "Author",
|
|
|
|
|
"content_source_url": "URL",
|
|
|
|
|
"content": "Content",
|
|
|
|
|
"digest": "Digest description"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"markdown": {
|
|
|
|
|
"content": "您的会议室已经预定,稍后会同步到`邮箱`>**事项详情**>事 项:<font color=\"info\">开会</font>>组织者:@miglioguan>参与者:@miglioguan、@kunliu、@jamdeezhou、@kanexiong、@kisonwang>>会议室:<font color=\"info\">广州TIT 1楼 301</font>>日 期:<font color=\"warning\">2018年5月18日</font>>时 间:<font color=\"comment\">上午9:00-11:00</font>>>请准时参加会议。>>如需修改会议信息,请点击:[修改会议信息](https://work.weixin.qq.com)"
|
|
|
|
|
},
|
|
|
|
|
"miniprogram_notice": {
|
|
|
|
|
"appid": "wx123123123123123",
|
|
|
|
|
"page": "pages/index?userid=zhangsan&orderid=123123123",
|
|
|
|
|
"title": "会议室预订成功通知",
|
|
|
|
|
"description": "4月27日 16:16",
|
|
|
|
|
"emphasis_first_item": true,
|
|
|
|
|
"content_item": [
|
|
|
|
|
{
|
|
|
|
|
"key": "会议室",
|
|
|
|
|
"value": "402"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "会议地点",
|
|
|
|
|
"value": "广州TIT-402会议室"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "会议时间",
|
|
|
|
|
"value": "2018年8月1日 09:00-09:30"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "参与人员",
|
|
|
|
|
"value": "周剑轩"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"interactive_taskcard": {
|
|
|
|
|
"title": "赵明登的礼物申请",
|
|
|
|
|
"description": "礼品:A31茶具套装\n用途:赠与小黑科技张总经理",
|
|
|
|
|
"url": "URL",
|
|
|
|
|
"task_id": "taskid123",
|
|
|
|
|
"btn": [
|
|
|
|
|
{
|
|
|
|
|
"key": "key111",
|
|
|
|
|
"name": "批准",
|
|
|
|
|
"color": "red",
|
|
|
|
|
"is_bold": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "key222",
|
|
|
|
|
"name": "驳回"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2021-06-05 21:34:20 +08:00
|
|
|
|
"selected_ticket_list": [ "xxx", "yyy" ],
|
2021-08-20 00:29:41 +08:00
|
|
|
|
"template_card": {
|
|
|
|
|
"card_type": "text_notice",
|
|
|
|
|
"source": {
|
|
|
|
|
"icon_url": "图片的url",
|
|
|
|
|
"desc": "企业微信"
|
|
|
|
|
},
|
|
|
|
|
"card_image": {
|
|
|
|
|
"url": "图片的url",
|
|
|
|
|
"aspect_ratio": 1.3
|
|
|
|
|
},
|
|
|
|
|
"main_title": {
|
|
|
|
|
"title": "欢迎使用企业微信",
|
|
|
|
|
"desc": "您的好友正在邀请您加入企业微信"
|
|
|
|
|
},
|
|
|
|
|
"emphasis_content": {
|
|
|
|
|
"title": "100",
|
|
|
|
|
"desc": "核心数据"
|
|
|
|
|
},
|
|
|
|
|
"sub_title_text": "下载企业微信还能抢红包!",
|
|
|
|
|
"vertical_content_list": [
|
2021-06-05 21:34:20 +08:00
|
|
|
|
{
|
2021-08-20 00:29:41 +08:00
|
|
|
|
"title": "惊喜红包等你来拿",
|
|
|
|
|
"desc": "下载企业微信还能抢红包!"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"horizontal_content_list": [
|
|
|
|
|
{
|
|
|
|
|
"keyname": "邀请人",
|
|
|
|
|
"value": "张三"
|
2021-06-05 21:34:20 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
2021-08-20 00:29:41 +08:00
|
|
|
|
"type": 1,
|
|
|
|
|
"keyname": "企业微信官网",
|
|
|
|
|
"value": "点击访问",
|
|
|
|
|
"url": "https://work.weixin.qq.com"
|
2021-06-05 21:34:20 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
2021-08-20 00:29:41 +08:00
|
|
|
|
"type": 2,
|
|
|
|
|
"keyname": "企业微信下载",
|
|
|
|
|
"value": "企业微信.apk",
|
|
|
|
|
"media_id": "文件的media_id"
|
2021-06-05 21:34:20 +08:00
|
|
|
|
}
|
2021-08-20 00:29:41 +08:00
|
|
|
|
],
|
|
|
|
|
"jump_list": [
|
|
|
|
|
{
|
|
|
|
|
"type": 1,
|
|
|
|
|
"title": "企业微信官网",
|
|
|
|
|
"url": "https://work.weixin.qq.com"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": 2,
|
|
|
|
|
"title": "跳转小程序",
|
|
|
|
|
"appid": "小程序的appid",
|
|
|
|
|
"pagepath": "/index.html"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"card_action": {
|
|
|
|
|
"type": 2,
|
|
|
|
|
"url": "https://work.weixin.qq.com",
|
|
|
|
|
"appid": "小程序的appid",
|
|
|
|
|
"pagepath": "/index.html"
|
|
|
|
|
},
|
|
|
|
|
"task_id": "task_id",
|
|
|
|
|
"button_list": [
|
|
|
|
|
{
|
|
|
|
|
"text": "按钮1",
|
|
|
|
|
"style": 1,
|
|
|
|
|
"key": "button_key_1"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"text": "按钮2",
|
|
|
|
|
"style": 2,
|
|
|
|
|
"key": "button_key_2"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"checkbox": {
|
|
|
|
|
"question_key": "question_key1",
|
|
|
|
|
"option_list": [
|
|
|
|
|
{
|
|
|
|
|
"id": "option_id1",
|
|
|
|
|
"text": "选择题选项1",
|
|
|
|
|
"is_checked": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "option_id2",
|
|
|
|
|
"text": "选择题选项2",
|
|
|
|
|
"is_checked": false
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"mode": 1
|
|
|
|
|
},
|
|
|
|
|
"select_list": [
|
|
|
|
|
{
|
|
|
|
|
"question_key": "question_key1",
|
|
|
|
|
"title": "选择器标签1",
|
|
|
|
|
"selected_id": "selection_id1",
|
|
|
|
|
"option_list": [
|
|
|
|
|
{
|
|
|
|
|
"id": "selection_id1",
|
|
|
|
|
"text": "选择器选项1"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "selection_id2",
|
|
|
|
|
"text": "选择器选项2"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"question_key": "question_key2",
|
|
|
|
|
"title": "选择器标签2",
|
|
|
|
|
"selected_id": "selection_id3",
|
|
|
|
|
"option_list": [
|
|
|
|
|
{
|
|
|
|
|
"id": "selection_id3",
|
|
|
|
|
"text": "选择器选项3"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "selection_id4",
|
|
|
|
|
"text": "选择器选项4"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"submit_button": {
|
|
|
|
|
"text": "提交",
|
|
|
|
|
"key": "key"
|
|
|
|
|
}
|
2021-06-05 21:34:20 +08:00
|
|
|
|
},
|
2021-06-03 10:39:03 +08:00
|
|
|
|
"safe": 0,
|
|
|
|
|
"enable_id_trans": 0,
|
|
|
|
|
"enable_duplicate_check": 0,
|
|
|
|
|
"duplicate_check_interval": 1800
|
|
|
|
|
}
|