Files
DotNetCore.SKIT.FlurlHttpCl…/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinMessage/CgibinMessageSendRequest.json
2022-05-06 20:44:39 +08:00

208 lines
6.6 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"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",
"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"
}
]
},
"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": "驳回"
}
]
},
"selected_ticket_list": ["xxx", "yyy"],
"template_card": {
"card_type": "text_notice",
"source": {
"icon_url": "图片的url",
"desc": "企业微信",
"desc_color": 1
},
"action_menu": {
"desc": "卡片副交互辅助文本说明",
"action_list": [
{
"text": "接受推送",
"key": "A"
},
{
"text": "不再推送",
"key": "B"
}
]
},
"task_id": "task_id",
"main_title": {
"title": "欢迎使用企业微信",
"desc": "您的好友正在邀请您加入企业微信"
},
"quote_area": {
"type": 1,
"url": "https://work.weixin.qq.com",
"title": "企业微信的引用样式",
"quote_text": "企业微信真好用呀真好用"
},
"emphasis_content": {
"title": "100",
"desc": "核心数据"
},
"sub_title_text": "下载企业微信还能抢红包!",
"horizontal_content_list": [
{
"keyname": "邀请人",
"value": "张三"
},
{
"type": 1,
"keyname": "企业微信官网",
"value": "点击访问",
"url": "https://work.weixin.qq.com"
},
{
"type": 2,
"keyname": "企业微信下载",
"value": "企业微信.apk",
"media_id": "文件的media_id"
},
{
"type": 3,
"keyname": "员工信息",
"value": "点击查看",
"userid": "zhangsan"
}
],
"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"
}
},
"template_msg": {
"template_id": "ttxxlGlgIAwJrCTFjtndfgHPoIySyk6w",
"url": "http://www.qq.com",
"miniprogram": {
"appid": "APPID",
"pagepath": "/index.html"
},
"content_item": [
{
"key": "会议室",
"value": "402"
},
{
"key": "会议地点",
"value": "广州TIT-402会议室"
},
{
"key": "会议时间",
"value": "2018年8月1日 09:00-09:30"
}
]
},
"safe": 0,
"enable_id_trans": 0,
"enable_duplicate_check": 0,
"duplicate_check_interval": 1800
}