云真机

API接口文档


聊天消息数据结构介绍

<p>&lt;font color=&quot;red&quot;&gt;注意: 1、支持接口发送文本(普通文本、表情)、群公告、图片、链接、文件、小程序等消息,支持下方全部消息类型的消息回调或主动拉取。 2*、消息中包含的图片、语音、视频、文件等资源文件,平台会异步上传至存储服务器,回调地址在接收到消息时,可能尚未完成上传,如有文件资源转存的需求,当遇到文件不存在时可以等待几秒重试下载。 &lt;/font&gt;</p> <h2>消息类型(msg_type字段)</h2> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">解释</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">&lt;a href=&quot;#text&quot;&gt;text&lt;/a&gt;</td> <td style="text-align: left;">文本(支持发送)</td> </tr> <tr> <td style="text-align: left;">&lt;a href=&quot;#announcement&quot;&gt;announcement&lt;/a&gt;</td> <td style="text-align: left;">群公告(支持发送)</td> </tr> <tr> <td style="text-align: left;">&lt;a href=&quot;#picture&quot;&gt;picture&lt;/a&gt;</td> <td style="text-align: left;">图片(支持发送)</td> </tr> <tr> <td style="text-align: left;">&lt;a href=&quot;#link&quot;&gt;link&lt;/a&gt;</td> <td style="text-align: left;">链接(支持发送)</td> </tr> <tr> <td style="text-align: left;">&lt;a href=&quot;#voice&quot;&gt;voice&lt;/a&gt;</td> <td style="text-align: left;">语音(支持发送)</td> </tr> <tr> <td style="text-align: left;">&lt;a href=&quot;#video&quot;&gt;video&lt;/a&gt;</td> <td style="text-align: left;">视频(支持发送)</td> </tr> <tr> <td style="text-align: left;">&lt;a href=&quot;#file&quot;&gt;file&lt;/a&gt;</td> <td style="text-align: left;">文件(支持发送)</td> </tr> <tr> <td style="text-align: left;">&lt;a href=&quot;#program&quot;&gt;program&lt;/a&gt;</td> <td style="text-align: left;">小程序(支持发送)</td> </tr> <tr> <td style="text-align: left;">&lt;a href=&quot;#card&quot;&gt;card&lt;/a&gt;</td> <td style="text-align: left;">名片(支持发送)</td> </tr> <tr> <td style="text-align: left;">&lt;a href=&quot;#channel&quot;&gt;channel&lt;/a&gt;</td> <td style="text-align: left;">视频号(支持发送)</td> </tr> <tr> <td style="text-align: left;">&lt;a href=&quot;#merge&quot;&gt;merge&lt;/a&gt;</td> <td style="text-align: left;">聊天消息合集(&lt;a href=&quot;<a href="https://www.showdoc.com.cn/qybopen/9761091644169664&quot;&gt;支持转发&lt;/a&gt">https://www.showdoc.com.cn/qybopen/9761091644169664&quot;&gt;支持转发&lt;/a&gt</a>;)</td> </tr> <tr> <td style="text-align: left;">voipinfo</td> <td style="text-align: left;">音视频通话信息</td> </tr> <tr> <td style="text-align: left;">system</td> <td style="text-align: left;">系统消息</td> </tr> <tr> <td style="text-align: left;">revoke</td> <td style="text-align: left;">撤回</td> </tr> <tr> <td style="text-align: left;">location</td> <td style="text-align: left;">位置</td> </tr> <tr> <td style="text-align: left;">redpacket</td> <td style="text-align: left;">红包</td> </tr> <tr> <td style="text-align: left;">&lt;a href=&quot;#emotionpic&quot;&gt;emotionpic&lt;/a&gt;</td> <td style="text-align: left;">自定义表情</td> </tr> <tr> <td style="text-align: left;">imgtext</td> <td style="text-align: left;">图文消息</td> </tr> <tr> <td style="text-align: left;">jielong</td> <td style="text-align: left;">接龙</td> </tr> <tr> <td style="text-align: left;">invite</td> <td style="text-align: left;">群主号收到的进群确认消息</td> </tr> <tr> <td style="text-align: left;">其他类型,包括数字类型</td> <td style="text-align: left;">表示系统暂未支持,请忽略。</td> </tr> </tbody> </table> <h2>消息结构说明</h2> <p>&lt;font color=&quot;red&quot;&gt;*以下消息结构体[{}]为消息列表或回调通知中接收到的消息结构,同时该消息结构对应接口“&lt;a href=&quot;<a href="https://www.showdoc.com.cn/qybopen/7988142920476637&quot;&gt;发送消息/公告&lt;/a&gt;”中的messages字段(发送消息时,消息对象{}中无需包含from_wxid、to_wxid和msg_time字段,仅需包含msg_type、content即可,如需定时发送可带delayed_time字段)&lt;/font&gt">https://www.showdoc.com.cn/qybopen/7988142920476637&quot;&gt;发送消息/公告&lt;/a&gt;”中的messages字段(发送消息时,消息对象{}中无需包含from_wxid、to_wxid和msg_time字段,仅需包含msg_type、content即可,如需定时发送可带delayed_time字段)&lt;/font&gt</a>;</p> <h2>消息结构体</h2> <p>&lt;a id=&quot;text&quot;&gt;&lt;/a&gt;</p> <h4>文本消息(msg_type=text)</h4> <ul> <li>json结构体 <pre><code>[ { &amp;quot;content&amp;quot;:{ &amp;quot;items&amp;quot;:[ { &amp;quot;at_name&amp;quot;:&amp;quot;小王&amp;quot;,//被@人的昵称//@所有人时,此字段传&amp;quot;所有人&amp;quot; (备注:@所有人 需要企微号是群主或管理员)                         &amp;quot;at_id&amp;quot;:&amp;quot;78xxxxx&amp;quot;,//被@人的wxid//@所有人时,此字段传&amp;quot;0&amp;quot; (备注:@所有人 需要企微号是群主或管理员)                         &amp;quot;type&amp;quot;:&amp;quot;@&amp;quot;//消息中要@别人时,使用此类型                     }, {                         &amp;quot;text&amp;quot;:&amp;quot;这里是带表情的&amp;quot;,                         &amp;quot;type&amp;quot;:&amp;quot;text&amp;quot;                     },                     {                         &amp;quot;text&amp;quot;:&amp;quot;[呲牙]&amp;quot;,                         &amp;quot;type&amp;quot;:&amp;quot;emotion&amp;quot;                     },                     {                         &amp;quot;text&amp;quot;:&amp;quot;消息 &amp;quot;,                         &amp;quot;type&amp;quot;:&amp;quot;text&amp;quot;                     } ]//最终这个结构发出去的消息为:“@小王 这里是带表情的[呲牙]消息” }, &amp;quot;from_wxid&amp;quot;:&amp;quot;发送者wxid&amp;quot;, &amp;quot;msg_time&amp;quot;:1667529457000, &amp;quot;msg_type&amp;quot;:&amp;quot;text&amp;quot;, &amp;quot;to_wxid&amp;quot;:&amp;quot;接收者wxid(群ID格式-&amp;gt;R:xxxx)&amp;quot; } ]</code></pre></li> <li>content字段说明</li> </ul> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>items</td> <td>array</td> <td>内容项</td> </tr> <tr> <td>items[0].type</td> <td>string</td> <td>内容类型:text、@、emotion</td> </tr> <tr> <td>items[0].text</td> <td>string</td> <td>文本内容</td> </tr> <tr> <td>items[0].at_id</td> <td>array</td> <td>type为@时,被@人微信ID</td> </tr> <tr> <td>items[0].at_name</td> <td>array</td> <td>type为@时,被@人昵称</td> </tr> </tbody> </table> <p>&lt;a id=&quot;announcement&quot;&gt;&lt;/a&gt;</p> <h4>群公告消息(msg_type=announcement)</h4> <ul> <li>json结构体 <pre><code>[ { &amp;quot;content&amp;quot;:{ &amp;quot;text&amp;quot;:&amp;quot;xxxxxx&amp;quot; }, &amp;quot;from_wxid&amp;quot;:&amp;quot;xxxxxxxx&amp;quot;, &amp;quot;msg_time&amp;quot;:1667529457000, &amp;quot;msg_type&amp;quot;:&amp;quot;announcement&amp;quot;, &amp;quot;to_wxid&amp;quot;:&amp;quot;R:xxxxxxxxx&amp;quot; } ]</code></pre></li> <li>content字段说明</li> </ul> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>content</td> <td>object</td> <td>内容</td> </tr> <tr> <td>content.text</td> <td>string</td> <td>公告内容</td> </tr> </tbody> </table> <p>&lt;a id=&quot;picture&quot;&gt;&lt;/a&gt;</p> <h4>图片消息(msg_type=picture)</h4> <ul> <li>json结构体 <pre><code>[ { &amp;quot;content&amp;quot;:{ &amp;quot;url&amp;quot;:&amp;quot;\/\/qiyunbao.oss-cn-hangzhou.aliyuncs.com\/public\/wechatdata\/21\/1688850011888791\/20211116\/pic\/456f04784ca369d4e93ce6af7eeb4702.jpg&amp;quot; }, &amp;quot;from_wxid&amp;quot;:&amp;quot;xxxxx&amp;quot;, &amp;quot;msg_time&amp;quot;:1667529457000, &amp;quot;msg_type&amp;quot;:&amp;quot;picture&amp;quot;, &amp;quot;to_wxid&amp;quot;:&amp;quot;R:xxxxxx&amp;quot; } ]</code></pre></li> <li>content字段说明</li> </ul> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>url</td> <td>string</td> <td>图片链接</td> </tr> </tbody> </table> <p>&lt;a id=&quot;link&quot;&gt;&lt;/a&gt;</p> <h4>链接消息(msg_type=link)</h4> <ul> <li>json结构体 <pre><code>[ { &amp;quot;content&amp;quot;:{ &amp;quot;cover&amp;quot;:&amp;quot;https:\/\/qiyunbao.oss-cn-hangzhou.aliyuncs.com\/u\/11647\/20211104\/5af03ac218749c32c58b9acc550416e6.jpg&amp;quot;, &amp;quot;desc&amp;quot;:&amp;quot;从京都到“二次元”的10次文化巡礼&amp;quot;, &amp;quot;title&amp;quot;:&amp;quot;透视日本&amp;quot;, &amp;quot;url&amp;quot;:&amp;quot;http:\/\/ny.zdline.cn\/mobile\/pageShare\/index.html?id=2013&amp;amp;parentUserId=788399&amp;quot; }, &amp;quot;from_wxid&amp;quot;:&amp;quot;xxxxxxxx&amp;quot;, &amp;quot;msg_time&amp;quot;:1667529457000, &amp;quot;msg_type&amp;quot;:&amp;quot;link&amp;quot;, &amp;quot;to_wxid&amp;quot;:&amp;quot;R:xxxxxxx&amp;quot; } ]</code></pre></li> <li>content字段说明</li> </ul> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>url</td> <td>string</td> <td>跳转链接</td> </tr> <tr> <td>cover</td> <td>string</td> <td>封面链接</td> </tr> <tr> <td>desc</td> <td>string</td> <td>描述</td> </tr> <tr> <td>title</td> <td>string</td> <td>标题</td> </tr> </tbody> </table> <p>&lt;a id=&quot;voice&quot;&gt;&lt;/a&gt;</p> <h4>语音消息(msg_type=voice)</h4> <p>&lt;font color=&quot;red&quot;&gt;注意:发送语音消息,建议语音从聊天消息回调、通过聊天记录接口、或素材库获取,不建议自己拼接。&lt;/font&gt;</p> <ul> <li>json结构体 <pre><code>[ { &amp;quot;content&amp;quot;:{ &amp;quot;duration&amp;quot;:3,//语音时长,1-60的整数 &amp;quot;url&amp;quot;:&amp;quot;\/\/qiyunbao.oss-cn-hangzhou.aliyuncs.com\/public\/wechatdata\/21\/1688850011888791\/20211117\/voice\/26c761bf9327acac9250402861016d11.mp3&amp;quot;, &amp;quot;text&amp;quot;:&amp;quot;xxxx&amp;quot;//企微客户端上开启了语音自动转文本,则此处有转换后的文本内容,语音转文本回调逻辑:1秒内能转好的通过语音消息一起回调(回调类型type:chatMsg,消息类型msg_type:voice,文本字段:data[0].content.text);1秒内未转好的通过另一个回调类型voiceToText回调(回调类型:voiceToText,文本字段:data[0].text)。所以需要两部分组合起来使用。 }, &amp;quot;from_wxid&amp;quot;:&amp;quot;xxxxxxxx&amp;quot;, &amp;quot;msg_time&amp;quot;:1667529457000, &amp;quot;msg_type&amp;quot;:&amp;quot;voice&amp;quot;, &amp;quot;to_wxid&amp;quot;:&amp;quot;R:xxxxxx&amp;quot; } ]</code></pre></li> <li>content字段说明</li> </ul> <table> <thead> <tr> <th>参数</th> <th>是否必传</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>url</td> <td>必传</td> <td>string</td> <td>链接</td> </tr> <tr> <td>duration</td> <td>必传</td> <td>int</td> <td>语音时长,1-60的整数</td> </tr> </tbody> </table> <p>&lt;a id=&quot;video&quot;&gt;&lt;/a&gt;</p> <h4>视频消息(msg_type=video)</h4> <ul> <li>json结构体 <pre><code>[ { &amp;quot;content&amp;quot;:{ &amp;quot;url&amp;quot;:&amp;quot;\/\/qiyunbao.oss-cn-hangzhou.aliyuncs.com\/public\/wechatdata\/21\/1688851193635552\/20211116\/video\/39ee3aee38151d23d572c6156db0f627.mp4&amp;quot; }, &amp;quot;from_wxid&amp;quot;:&amp;quot;xxxxxxxx&amp;quot;, &amp;quot;msg_time&amp;quot;:1667529457000, &amp;quot;msg_type&amp;quot;:&amp;quot;video&amp;quot;, &amp;quot;to_wxid&amp;quot;:&amp;quot;R:xxxxx&amp;quot; } ]</code></pre></li> <li>content字段说明</li> </ul> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>url</td> <td>string</td> <td>视频链接</td> </tr> </tbody> </table> <p>&lt;a id=&quot;file&quot;&gt;&lt;/a&gt;</p> <h4>文件消息(msg_type=file)</h4> <ul> <li>json结构体 <pre><code>[ { &amp;quot;content&amp;quot;:{ &amp;quot;title&amp;quot;:&amp;quot;公众号和多平台助手常见问题解答.pdf&amp;quot;, &amp;quot;url&amp;quot;:&amp;quot;\/\/qiyunbao.oss-cn-hangzhou.aliyuncs.com\/public\/wechatdata\/21\/1688851193635552\/20211116\/file\/7fcdcc5c646e64253f00b7b55fdd4339\/公众号和多平台助手常见问题解答.pdf&amp;quot; }, &amp;quot;from_wxid&amp;quot;:&amp;quot;xxxxxxx&amp;quot;, &amp;quot;msg_time&amp;quot;:1667529457000, &amp;quot;msg_type&amp;quot;:&amp;quot;file&amp;quot;, &amp;quot;to_wxid&amp;quot;:&amp;quot;R:xxxxx&amp;quot; } ]</code></pre></li> <li>content字段说明</li> </ul> <table> <thead> <tr> <th>参数</th> <th>是否必传</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>url</td> <td>必传</td> <td>string</td> <td>文件链接</td> </tr> <tr> <td>title</td> <td>必传</td> <td>string</td> <td>文件名称</td> </tr> <tr> <td>ext</td> <td>非必传</td> <td>string</td> <td>文件扩展名</td> </tr> <tr> <td>desc</td> <td>非必传</td> <td>string</td> <td>文件描述</td> </tr> <tr> <td>size</td> <td>非必传</td> <td>string</td> <td>文件大小(字节)</td> </tr> </tbody> </table> <p>&lt;a id=&quot;program&quot;&gt;&lt;/a&gt;</p> <h4>小程序消息(msg_type=program)</h4> <ul> <li> <p>json结构体</p> <pre><code>[ { &amp;quot;content&amp;quot;:{ &amp;quot;appid&amp;quot;:&amp;quot;wxxxxxxxxxx&amp;quot;, &amp;quot;cover&amp;quot;:&amp;quot;\/\/qiyunbao.oss-cn-hangzhou.aliyuncs.com\/public\/wechatdata\/90\/xxxx\/fans\/20211230\/xxxxx\/pic\/d708ac58a3d9e22f1202c0398760ef7c.jpg&amp;quot;, &amp;quot;name&amp;quot;:&amp;quot;xxxxx&amp;quot;, &amp;quot;org_content&amp;quot;:{ &amp;quot;author&amp;quot;:&amp;quot;gh_xxxxxxx@app&amp;quot;, //发送消息时该字段原封不动带上 &amp;quot;headimgheight&amp;quot;:576, //发送消息时该字段原封不动带上 &amp;quot;headimgkey&amp;quot;:&amp;quot;6F6F67797762736170786F666E6B7673&amp;quot;, //发送消息时该字段原封不动带上 &amp;quot;headimgsize&amp;quot;:66992, //发送消息时该字段原封不动带上 &amp;quot;headimgwidth&amp;quot;:720, //发送消息时该字段原封不动带上 &amp;quot;md5&amp;quot;:&amp;quot;d708ac58a3d9e22f1202c0398760ef7c&amp;quot;, //发送消息时该字段原封不动带上 &amp;quot;page&amp;quot;:&amp;quot;pages\/home\/index.html&amp;quot;, //发送消息时,该字段支持自定义修改 &amp;quot;wxurl&amp;quot;:&amp;quot;306a02010204633061020100020489ce9e0f02031e903802047f80f46d020461cd45d40435323331323031393437315f3837333638323535375f643730386163353861336439653232663132303263303339383736306566376302010002030105c004000201010201000400&amp;quot;//发送消息时该字段原封不动带上 }, &amp;quot;title&amp;quot;:&amp;quot;xxxxxx&amp;quot;, &amp;quot;weapp_iconurl&amp;quot;:&amp;quot;http:\/\/mmbiz.qpic.cn\/mmbiz_png\/lnnDDnQPWKK8JSOS3l7jFT5vXicyXtoRozrxxxuSVjx7jXLc5ssssB1vibr6WViaEW6qCQVow4h8VI9UBAzZUdY6Kug\/640?wx_fmt=png&amp;amp;wxfrom=200&amp;quot; }, &amp;quot;from_wxid&amp;quot;:&amp;quot;xxxx&amp;quot;, &amp;quot;msg_time&amp;quot;:1667529457000, &amp;quot;msg_type&amp;quot;:&amp;quot;program&amp;quot;, &amp;quot;to_wxid&amp;quot;:&amp;quot;R:xxxx&amp;quot; } ]</code></pre> </li> <li>content字段说明</li> </ul> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>appid</td> <td>string</td> <td>小程序appid</td> </tr> <tr> <td>cover</td> <td>string</td> <td>&lt;font color=&quot;red&quot;&gt;封面图(若要修改封面,就把org_content.wxurl置空,org_content中其他字段保持不变原封带上)&lt;/font&gt;</td> </tr> <tr> <td>name</td> <td>string</td> <td>小程序名称</td> </tr> <tr> <td>title</td> <td>string</td> <td>标题</td> </tr> <tr> <td>weapp_iconurl</td> <td>string</td> <td>icon图片url</td> </tr> <tr> <td>org_content</td> <td>string</td> <td>&lt;font color=&quot;red&quot;&gt;小程序原始信息(通过平台企微号发送消息,从平台的消息回调通知中获取到相应消息里面包含的该字段值,或收录到素材库从素材库获取该字段)&lt;/font&gt;</td> </tr> </tbody> </table> <p>&lt;a id=&quot;card&quot;&gt;&lt;/a&gt;</p> <h4>名片(msg_type=card )</h4> <ul> <li> <p>json结构体</p> <pre><code>[ { &amp;quot;content&amp;quot;:{ &amp;quot;avatar&amp;quot;:&amp;quot;https:\/\/wework.qpic.cn\/bizmail\/6viapYdaCoCO8n73rTQZlAdF5Haj9gf9L566CuRhXGvnSQnh8QQnYGg\/0&amp;quot;, &amp;quot;corp_name&amp;quot;:&amp;quot;xxxxx有限公司&amp;quot;, &amp;quot;corp_wxid&amp;quot;:&amp;quot;xxxxx&amp;quot;, &amp;quot;name_in_corp&amp;quot;:&amp;quot;&amp;quot;, &amp;quot;nickname&amp;quot;:&amp;quot;xxxx&amp;quot;, &amp;quot;wxid&amp;quot;:&amp;quot;xxxx&amp;quot; }, &amp;quot;from_wxid&amp;quot;:&amp;quot;1688851971243841&amp;quot;, &amp;quot;msg_time&amp;quot;:1667529457000, &amp;quot;msg_type&amp;quot;:&amp;quot;card&amp;quot;, &amp;quot;to_wxid&amp;quot;:&amp;quot;R:xxxxx&amp;quot; } ]</code></pre> </li> <li>content字段说明</li> </ul> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>corp_name</td> <td>string</td> <td>所属企业名称</td> </tr> <tr> <td>nickname</td> <td>string</td> <td>企业微信昵称</td> </tr> <tr> <td>wxid</td> <td>string</td> <td>企业微信wxid</td> </tr> <tr> <td>avatar</td> <td>string</td> <td>头像</td> </tr> </tbody> </table> <p>&lt;a id=&quot;channel&quot;&gt;&lt;/a&gt;</p> <h4>视频号消息(msg_type=channel)</h4> <ul> <li> <p>json结构体</p> <pre><code>[ { &amp;quot;content&amp;quot;:{ &amp;quot;avatar&amp;quot;:&amp;quot;http:\/\/wx.qlogo.cn\/finderhead\/JCrjicctRMoenzjkH6sdUsm7SyMyZ2BibpSR581WoRHtx2LpiaJ53n0Fw\/0&amp;quot;, &amp;quot;cover&amp;quot;:&amp;quot;\/\/qiyunbao.oss-cn-hangzhou.aliyuncs.com\/public\/wechatdata\/90\/21\/fans\/20220422\/1688851873049028\/pic\/0e4c241bf67dd7c404b7a8fa556db53509dd0358.jpg&amp;quot;, &amp;quot;desc&amp;quot;:&amp;quot;天地以雨为笔\n为山河染上春天的青色\n#谷雨 #时代人文 #时代中国&amp;quot;, &amp;quot;org_content&amp;quot;:{ &amp;quot;key&amp;quot;:&amp;quot;CAEQACKdLwAE9OmXBAAAAQAAAAAA1gT9+023zA+MG7dsYmIgAAAAaeq5SzX7s7sPwaz04zCEwYwyALHFYGIb\/l1etP1AtP25vx3pUorue0lacMoz3du6cs5sUwuonluXQqvpxrGguhGmggz3SCQ3ZkhdYIYbGlXuBQI6aBlpc3jIlKc0C+8hyO4+rOMWyWB1PywFrwIiIGyNg8bCnfnYuluLDI1bOo7HWwv1q6D9GRSQ3ae98wmECweqePYPs0hJs+g1PP4N2\/ov+gD1z0jjiPCoZv4QIaO2MGFfZ0Vz75Qm25KCXHBlcyotYJQAIMtnJ+N9YeCFZYJvOcw4lXbzXKU6K4gwrXxUmuMbpbYAlutl4YaLY6Dz6ZLIPbXCoGGYeBdsWTLKk56n4MqojzGyf9MU0MVo8YgxpvNXa9p2MUdIkw\/Pkhvgj+eEKla2XbWO5Oqqn+7gUMjCwYeJoSMsxCUHqyWCqCTtvTi3d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v6IwoNUTPaB6YRq5dmIUChvgRv812xrlE6mz0trIzN8Zkyi5mKeWbsmrfs\/4I+OaA5i44TxJj6a07YzJ3eU8zkAQ\/ZoXhliMx0IJ0MYd+mKL9E1Apk6kiIP\/IsQyurHgqMxAW+sDoAKx6WkYoFEHR6tRJSo9pDftDNmO8oEMrxfx6zngxjFD5ax104exatFc2EKwDXuFUCgA&amp;quot;, &amp;quot;wxurl&amp;quot;:&amp;quot;http:\/\/wxapp.tc.qq.com\/251\/20304\/stodownload?encfilekey=rjD5jyTuFrIpZ2ibE8T7Ym3K77SEULgkiaiaTA1sILrgahGF60sunsrzFjwfibriaqM10wic8XYOKzNwQHNJfWMp8icfZFX7FunwQkUgxoibapNOdHxZ4FDyiaPicL2g&amp;amp;adaptivelytrans=0&amp;amp;bizid=1023&amp;amp;dotrans=0&amp;amp;hy=SZ&amp;amp;idx=1&amp;amp;m=&amp;amp;scene=0&amp;amp;token=x5Y29zUxcibBG7fNjvWPf3txvO4jz20F079biadUqNmgMic6EgMSrydgs7Y2DXPvFEClAYfWth7J8Q&amp;amp;finder_expire_time=1651222327&amp;amp;finder_eid=export%2FUzFfAgtgekIEAQAAAAAAhdYggC5eDgAAAAstQy6ubaLX4KHWvLEZgBPE0INAFxVWfPSDzNPgMIBuEHUcFfONdCcG-BdVUARO&amp;quot; }, &amp;quot;title&amp;quot;:&amp;quot;时代中国&amp;quot;, &amp;quot;url&amp;quot;:&amp;quot;https:\/\/channels.weixin.qq.com\/web\/pages\/feed?eid=export%2FUzFfAgtgekIEAQAAAAAAhdYggC5eDgAAAAstQy6ubaLX4KHWvLEZgBPE0INAFxVWfPSDzNPgMIBuEHUcFfONdCcG-BdVUARO&amp;quot; }, &amp;quot;from_wxid&amp;quot;:&amp;quot;xxxx&amp;quot;, &amp;quot;msg_time&amp;quot;:1667529457000, &amp;quot;msg_type&amp;quot;:&amp;quot;channel&amp;quot;, &amp;quot;to_wxid&amp;quot;:&amp;quot;R:xxxx&amp;quot; } ]</code></pre> </li> <li>content字段说明</li> </ul> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>avatar</td> <td>string</td> <td>视频号头像</td> </tr> <tr> <td>cover</td> <td>string</td> <td>封面图</td> </tr> <tr> <td>desc</td> <td>string</td> <td>描述</td> </tr> <tr> <td>title</td> <td>string</td> <td>标题</td> </tr> <tr> <td>url</td> <td>string</td> <td>视频号链接</td> </tr> <tr> <td>org_content</td> <td>string</td> <td>视频号原始信息(通过平台企微号发送消息,从平台的消息回调通知中获取到相应消息里面包含的该字段值)</td> </tr> </tbody> </table> <p>&lt;a id=&quot;merge&quot;&gt;&lt;/a&gt;</p> <h4>聊天消息合集(msg_type=merge )</h4> <ul> <li>json结构体 <pre><code>[ { &amp;quot;content&amp;quot;:{ &amp;quot;msg_list&amp;quot;:[{}],//该字段为数组,内部成员结构和格式,同本章节最开始部分介绍的消息结构体[{}]。 &amp;quot;org_content&amp;quot;:{},//取自企微号接收到的消息字段,无法自行拼接 &amp;quot;org_wxid&amp;quot;:&amp;quot;R:xxx&amp;quot;, &amp;quot;title&amp;quot;:&amp;quot;群聊&amp;quot;, }, &amp;quot;from_wxid&amp;quot;:&amp;quot;1688851971243841&amp;quot;, &amp;quot;msg_time&amp;quot;:1667529457000, &amp;quot;msg_type&amp;quot;:&amp;quot;merge&amp;quot;, &amp;quot;to_wxid&amp;quot;:&amp;quot;R:xxxxx&amp;quot; } ]</code></pre></li> </ul> <p>&lt;a id=&quot;emotionpic&quot;&gt;&lt;/a&gt;</p> <h4>表情包(msg_type=emotionpic )</h4> <ul> <li> <p>json结构体</p> <pre><code>[ { &amp;quot;msg_type&amp;quot;:&amp;quot;emotionpic&amp;quot;,//发送该类型消息时,height、width、url三个字段不得为空,其他字段如下写死即可。 &amp;quot;content&amp;quot;:{ &amp;quot;height&amp;quot;:150, &amp;quot;width&amp;quot;:150, &amp;quot;md5&amp;quot;:&amp;quot;&amp;quot;, &amp;quot;org_content&amp;quot;:{ &amp;quot;cover&amp;quot;:&amp;quot;&amp;quot;, &amp;quot;desc&amp;quot;:&amp;quot;动画表情&amp;quot;, &amp;quot;p11&amp;quot;:102, &amp;quot;package_id&amp;quot;:&amp;quot;&amp;quot;, &amp;quot;text&amp;quot;:&amp;quot;&amp;quot; }, &amp;quot;url&amp;quot;:&amp;quot;https://xxx&amp;quot; } } ]</code></pre> </li> <li>content字段说明</li> </ul> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>height</td> <td>string</td> <td>图片高度</td> </tr> <tr> <td>width</td> <td>string</td> <td>图片宽度</td> </tr> <tr> <td>url</td> <td>string</td> <td>图片地址</td> </tr> </tbody> </table>

页面列表

ITEM_HTML