回调消息内容释义-优化版

[!DANGER]

  • 由于微信重新登录/服务器重启/网络重放等原因,消息可能存在重复推送历史消息,调用方必须进行消息排重处理。例如以newMsgId字段/timestamp时间戳作为逻辑处理

简要描述:

  • 获取回调消息字段说明(文字消息、图片消息、视频消息等信息)

消息格式

参数名 类型 说明
wcId String 微信id
account String 账号
messageType String 消息类型
data JSONObject 消息体
data.fromUser String 发送微信id
data.fromGroup String 发送群号
data.toUser String 接收微信id
data.msgId long 消息msgId
data.newMsgId long 消息newMsgId
data.timestamp long 时间
data.content String(文本消息) 或 XML(图片、视频消息) 消息体
data.self boolean 是否是自己发送的消息

消息类型定义

消息类型类型ID
通知消息测试回调地址00000
离线通知30000
好友添加请求30001
下载消息视频完成通知30002
发送视频朋友圈完成通知30003
私聊消息私聊文本60001
私聊图片60002
私聊视频60003
私聊语音60004
名片消息60005
emoji表情60006
链接消息60007
文件消息60008
文件发送完成消息60009
小程序60010
聊天记录60011
语音聊天60012
语音聊天挂断60013
引用消息60014
转账60015
红包60016
视频号60017
撤回消息60018
拍一拍60019
地理位置60020
音乐分享60021
群聊邀请链接60022
好友信息变更通知65001
好友开启朋友验证通知(被删除)65002
被对方绝收了(被拉黑)65003
删除好友65004
私聊其他消息60999
群聊消息群聊文本80001
群聊图片80002
群聊视频80003
群聊语音80004
名片消息80005
emoji表情80006
链接消息80007
文件消息80008
文件发送完成消息80009
小程序80010
聊天记录80011
语音聊天80012
引用消息80014
转账80015
红包80016
视频号80017
撤回消息80018
拍一拍80019
地理位置80020
音乐分享80021
群聊信息变更通知85001
被移出群聊85002
你把xxx踢出群聊85003
解散群聊85004
修改群名称85005
xxx被添加为管理员85006
xxx从群管理员中被移除85007
xxx邀请xxx加入群聊85008
xxx通过扫描xxx的二维码加入群聊85009
更换群主85010
发布群公告85011
群待办85012
群聊邀请确认85013
开启'群聊邀请确认'后的邀请验证通知85014
退出群聊85015
群聊其他消息80999
公众号消息公众号文章90001
取关公众号95001

通知类消息

测试回调地址

调用设置回调地址时会向目标地址发送一条测试消息,用于验证地址是否可用

{
    "account": "17200000000",
    "messageType": "00000",
    "wcId": "wcId"
}
离线通知
{
    "account": "17200000000",
    "data": {
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c",
        "content": "您已退出微信/session过期"
    }
    "messageType": "30000",
    "wcId": "wxid_phyyedw9xap22"
}
好友添加请求
  • 可根据消息中v1、v2、scene实现同意添加好友操作。
  • 解析data.content中的XML可获取请求好友的详细展示
{
    "account": "17200000000",
    "data": {
        "content": "<msg fromusername=\"wxid_ynu1tgjz156j22\" encryptusername=\"v3_020b3826fd0301000000000066881597b1f896000000501ea9a3dba12f95f6b60a0536a1adb6348d6f1f4712526aa5d30bcdc496b5bcf094375b83a0e8c16f920efe18ae7802ec1a5e70dfadfa4d65d@stranger\" fromnickname=\"朝夕\" content=\"我是朝夕\" fullpy=\"chaoxi\" shortpy=\"CX\" imagestatus=\"3\" scene=\"6\" country=\"\" province=\"\" city=\"\" sign=\"\" percard=\"0\" sex=\"1\" alias=\"\" weibo=\"\" albumflag=\"3\" albumstyle=\"0\" albumbgimgid=\"\" snsflag=\"273\" snsbgimgid=\"http://shmmsns.qpic.cn/mmsns/1LlgQzJVOyBjhnFA3DRl9CV1K0icDcOgXJQibQs5iaYvzRXKA47diccVRIMxj7m3Ctckicw7coJ1yXu8/0\" snsbgobjectid=\"13553090370457505888\" mhash=\"d36f4cc1c8bba1df41b93d2215133cdb\" mfullhash=\"d36f4cc1c8bba1df41b93d2215133cdb\" bigheadimgurl=\"http://wx.qlogo.cn/mmhead/ver_1/A6iaGHW76JGxj66d7fdARDOpLdjKIuFYOgc5mmN41yMTPibKAvYY8xHQQUf40HgAsMzgdX9Qvx1rcEqFMO57vg4rlzsUCeiaDAquMTr5ffXfZw/0\" smallheadimgurl=\"http://wx.qlogo.cn/mmhead/ver_1/A6iaGHW76JGxj66d7fdARDOpLdjKIuFYOgc5mmN41yMTPibKAvYY8xHQQUf40HgAsMzgdX9Qvx1rcEqFMO57vg4rlzsUCeiaDAquMTr5ffXfZw/132\" ticket=\"v4_000b708f0b040000010000067aa9107ef848a889032a433cc611000000050ded0b020927e3c97896a09d47e6e9e421c7fedaa65d4d728100e5283e39f0f002f6e7a45f770b9ff4c217fd5ed7f7c956b0bc6661769e06cdecb92c06b591c2bad742a25896a8fffb91f1b2b16f5df74c4920aaa8b40ef85abd0f549df851561fca552e502f1370f042f34b74800d2cce9ee28f2735a9c1505127de1f5535a87d1dba1819c5cb7927ab51d6e50705eeef80f650ff547528fa31747489e260325a963f75e0@stranger\" opcode=\"2\" googlecontact=\"\" qrticket=\"\" chatroomusername=\"\" sourceusername=\"\" sourcenickname=\"\" sharecardusername=\"\" sharecardnickname=\"\" cardversion=\"\" extflag=\"0\"><brandlist count=\"0\" ver=\"685074580\"></brandlist></msg>",
        "fromUser": "fmessage",
        "msgId": 1052001235,
        "newMsgId": 4343962748031226716,
        "remark": "我是朝夕",
        "scene": 6,
        "sourceUser": "",
        "timestamp": 1640772516,
        "v1": "v3_020b3826fd0301000000000066881597b1f896000000501ea9a3dba12f95f6b60a0536a1adb6348d6f1f4712526aa5d30bcdc496b5bcf094375b83a0e8c16f920efe18ae7802ec1a5e70dfadcddc508fa4d65d@stranger",
        "v2": "v4_000b708f0b04000001000000000067aa9107ef848a889032a433cc611000000050ded0b020927e3c97896a09d47e6e9e421c7fedaa65d4d728100e5283e39f0f002f6e7a45f770b9ff4c217fd9c1f3f05ed7f7c956b0bc6661769e06cdecb92c06b591c2bad742a25896a8fffb91f1b2b16f5df74c4920aaa8b40ef85abd0f549df851561fca552e502f1370f042f34b74800d2cce9ee28f2735a9c1505127de1f5535a87d1dba1819c5cb7927ab51d6e50705eeef80f650ff547528fa31747489e260325a963f75e0@stranger",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "30001",
    "wcId": "wxid_phyyedw9xap22"
}
下载视频消息完成通知
  • data.type:
    • 0:下载中
    • 1:下载完成
    • 2:下载失败
  • data.url:下载后的视频链接
{
    "account": "17200000000",
    "data": {
        "id": "9ea1f12e-82e0-4099-b758-c9267c8baae9",
        "type": 1,
        "url": "http://baidu.com/20211231/wxid_phyyedw9xap22/7e211c9e-49bc-43ba-921b-bbc161f8fbe1.mp4?Expires=1735548648&OSSAccessKeyId=LTAI4G5VB9BMxMDV14c6USjt&Signature=kG96ygElOZIRMmZYBSvTCNSbFSQ%3D"
    },
    "messageType": "30002",
    "wcId": "wxid_phyyedw9xap22"
}
发送视频朋友圈完成通知
  • data.asynId:发送视频朋友圈接口返回的asynId
  • data.createTime:发送时间
  • data.id:朋友圈id
  • data.objectDesc:描述
  • data.type:
    • 0:发送中
    • 1:发送完成
    • 2:发送失败
  • data.userName:发送的微信id
{
    "account": "17200960826",
    "data": {
        "asynId": "04d0af77-3877-4621-85ce-c8bee6a460e4",
        "createTime": 1641364819,
        "id": "13768766054025736468",
        "objectDesc": "今天还是可以的",
        "type": 1,
        "userName": "wxid_phyyedw9xap22"
    },
    "messageType": "30003",
    "wcId": "wxid_phyyedw9xap22"
}

私聊消息

私聊文本
{
    "account": "17200000000",
    "data": {
        "content": "adfa",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001123,
        "newMsgId": 3166120021925175285,
        "self": false,
        "timestamp": 1640594470,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60001",
    "wcId": "wxid_phyyedw9xap22"
}
私聊图片
  • data.img:图片缩略图
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<img aeskey=\"d27706ca173c0bf53223b342a99803ed\" encryver=\"1\" cdnthumbaeskey=\"d27706ca173c0bf53223b342a99803ed\" cdnthumburl=\"304d0201000446304402010002043904752002033d11fd0204ba6f66b4020461cc3c83041f777869645f7068797965647739786170323231305f313634303737343738370204011400020201000400\" cdnthumblength=\"3594\" cdnthumbheight=\"96\" cdnthumbwidth=\"120\" cdnmidheight=\"0\" cdnmidwidth=\"0\" cdnhdheight=\"0\" cdnhdwidth=\"0\" cdnmidimgurl=\"304d0201000446304402010002043904752002033d11fd0204ba6f66b4020461cc3c83041f777869645f7068797965647739786170323231305f313634303737343738370204011400020201000400\" length=\"6504\" md5=\"629663f8419f6ce79d1dd1506b20f261\" />\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "img": "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dTfUof7LmVBDBsbehEe1iTnBy3NfOk8XxB+HvxP1XS/h7oVzeaRd+UUYbXiTbFuOASMZZj0HWu+Pjj43yD7KvhG5jm7ytHGU/LNAFbx/HqvhX4P3mm+Nr+HUdQuGTyzGpQPicHgNnoCM17Z4JsrnTvCWnWV7nz4w5bPX5mJH6GvKdA+GPiHXtcg8VfFC+S9uLbJhtoVaKNNylW3ocq3RSPQ8179gY+UcCgAooooAKKKKACiiigD/1P3O9COlY1x4f0K7fzLrTbaV+5aFCf1Fef6X8Sv7Q+LGvfDQ2zL/AGN9n/fcbW86HzeO/HSvV6AKVppum2H/AB42kNvn/nnGqfyAq9mkooAKKKKACjC/3F9+KKKAEwv90flSgIOQoB+lFFABRRRQAUEKylXUMPQjI/KiigBAFUYRQo9AMCkdI5OJEVx6MAf506igBRgdB06UlFFABRRRQA0IgbeFAY9Tjn86k3uf4j+dNooAO+aUkmkooAKKKKACiiigAooooA//1f0g8Nf8nW+O/wDtw/8ASQ19WV8p+GcH9q7x0M/8+H/pIa+rOhoAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD/1v2ZtPAeg2XjPUfHcAk/tTVPL87JGz90nlrgYz933rs6KKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//1/3MooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD/9D9zKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//R/cyiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/0v3MooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD/9P9zKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//Z",
        "msgId": 1052001236,
        "newMsgId": 6936379876656809415,
        "self": false,
        "timestamp": 1640774787,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60002",
    "wcId": "wxid_phyyedw9xap22"
}
私聊视频

可通过异步下载视频消息接口获取视频内容,务必按需下载,不可收到此回调消息就下载视频

{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<videomsg aeskey=\"1fbadd52ee0349393c066ea9124f4a38\" cdnvideourl=\"307f0201000473307102010002043904752002032f56c3020459570d70020461cc3cf0044c777875706c6f61645f777869645f70687979656477397861703232385f313634303737343839365f36313331393730382d383932372d346231372d626133362d3866653136323065643732340204011400040201000405004c54a300\" cdnthumbaeskey=\"1fbadd52ee0349393c066ea9124f4a38\" cdnthumburl=\"307f0201000473307102010002043904752002032f56c3020459570d70020461cc3cf0044c777875706c6f61645f777869645f70687979656477397861703232385f313634303737343839365f36313331393730382d383932372d346231372d626133362d3866653136323065643732340204011400040201000405004c54a300\" length=\"389346\" playlength=\"2\" cdnthumblength=\"5736\" cdnthumbwidth=\"224\" cdnthumbheight=\"398\" fromusername=\"wxid_1dfgh4fs8vz22\" md5=\"99fab4f2f99636f93a909769b3c0f89a\" newmd5=\"860561b848adca7123c8859ba164e2e3\" isplaceholder=\"0\" rawmd5=\"\" rawlength=\"0\" cdnrawvideourl=\"\" cdnrawvideoaeskey=\"\" overwritenewmsgid=\"0\" isad=\"0\" />\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001237,
        "newMsgId": 4131239077065816816,
        "self": false,
        "timestamp": 1640774896,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60003",
    "wcId": "wxid_phyyedw9xap22"
}
私聊语音
  • data.bufId:下载语音时会用到
  • data.length:语音文件大小(b)
  • data.voiceLength:语音时长(ms)
{
    "account": "17200000000",
    "data": {
        "bufId": "144832864542720426",
        "content": "<msg><voicemsg endflag=\"1\" length=\"3479\" voicelength=\"1860\" clientmsgid=\"490e77adc00658795ba14f7368fe3679wxid_phyyedw9xap229_1640774943\" fromusername=\"wxid_1dfgh4fs8vz22\" downcount=\"0\" cancelflag=\"0\" voiceformat=\"4\" forwardflag=\"0\" bufid=\"291911202400371015\" /></msg>",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "length": 1853,
        "msgId": 1052001238,
        "newMsgId": 9051954690509438505,
        "self": false,
        "timestamp": 1640774944,
        "toUser": "wxid_phyyedw9xap22",
        "voiceLength": 1347,
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60004",
    "wcId": "wxid_phyyedw9xap22"
}
私聊名片
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg bigheadimgurl=\"http://wx.qlogo.cn/mmhead/ver_1/D39kUQXo5Ch4uRbf8z2qEqdZicvD04KMVbiaE8hmNtibtm7HjmOQOU2v1nxVjghlFibWNHSVzH1oRZL8gpSibXxH2u9Qib9Jib0iaIMd2cvQjkyRpEM/0\" smallheadimgurl=\"http://wx.qlogo.cn/mmhead/ver_1/D39kUQXo5Ch4uRbf8z2qEqdZicvD04KMVbiaE8hmNtibtm7HjmOQOU2v1nxVjghlFibWNHSVzH1oRZL8gpSibXxH2u9Qib9Jib0iaIMd2cvQjkyRpEM/132\" username=\"v3_020b3826fd030100000000005a8635b1406a38000000501ea9a3dba12f95f6b60a0536a1adb6348d6f1f4712526aa5d30bcdc495d79e1fd70ba8382c4dea0ec2a0815aa9dc7fdd487ef0fce27f369939a6d5826a639201ff7e4b5b9f48e2010acdc557@stranger\" nickname=\"赵笑笑\" fullpy=\"zhaoxiaoxiao\" shortpy=\"\" alias=\"\" imagestatus=\"3\" scene=\"17\" province=\"\" city=\"\" sign=\"\" sex=\"0\" certflag=\"0\" certinfo=\"\" brandIconUrl=\"\" brandHomeUrl=\"\" brandSubscriptConfigUrl=\"\" brandFlags=\"0\" regionCode=\"\" antispamticket=\"v4_000b708f0b0400000100000000001b17296a29254b0e0da76e3dcc611000000050ded0b020927e3c97896a09d47e6e9efd6e5b7733ba441a95c7c90bd383a7909b570d5329a4b56df47a5acd75d561308484e102d5bc0766d6d6bca1545e873fbfbd81c2c83ed73419c30ca34273a2d9bf3dd2e10406b72a4bb864691fd55bb762b1619b7cf9f458adebf2de684eaaad32a9a968903645b999df8d19b5ee95bb3968c9b9ade6481c36dc963dddc5eb778663c5a0095ac4b407386805c0e246d1496ceb79a084fe1e97082aa4d4bda96669341ab6b10ab5efb858710f876a76e2018e92ac4e77d01390c550ea071e252b99787369783d17b8e0deb765a179ebccdb32141cf833ae27f5efbf8d7b1e177c07f7bb44ebcab60c45@stranger\" />\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001239,
        "newMsgId": 5231310845416498487,
        "self": false,
        "timestamp": 1640775020,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60005",
    "wcId": "wxid_phyyedw9xap22"
}
私聊emoji表情
  • data.length:emoji表情文件大小(b)
  • data.md5:emoji表情的md5
  • data.url:emoji表情的公网链接,可直接用于展示

data.length+data.md5可用于发送Emoji消息接口

{
    "account": "17200000000",
    "data": {
        "content": "<msg><emoji fromusername=\"wxid_1dfgh4fs8vz22\" tousername=\"wxid_phyyedw9xap22\" type=\"2\" idbuffer=\"media:0_0\" md5=\"e8991233cb9c4fee7314299e27e8b6dc\" len=\"949505\" productid=\"\" androidmd5=\"e8991233cb9c4fee7314299e27e8b6dc\" androidlen=\"949505\" s60v3md5=\"e8991233cb9c4fee7314299e27e8b6dc\" s60v3len=\"949505\" s60v5md5=\"e8991233cb9c4fee7314299e27e8b6dc\" s60v5len=\"949505\" cdnurl=\"http://vweixinf.tc.qq.com/110/20401/stodownload?m=e8991233cb9c4fee7314299e27e8b6dc&amp;filekey=30440201010430302e02016e040253480420653839393132333363623963346665653733313432393965323765386236646302030e7d01040d00000004627466730000000131&amp;hy=SH&amp;storeid=323032303037303730393238343330303037303536623037626536396133666165313466303930303030303036653031303034666231&amp;ef=1&amp;bizid=1022\" designerid=\"\" thumburl=\"\" encrypturl=\"http://vweixinf.tc.qq.com/110/20402/stodownload?m=1dfcc20fa07ce10ec687e8573927b039&amp;filekey=30440201010430302e02016e040253480420316466636332306661303763653130656336383765383537333932376230333902030e7d10040d00000004627466730000000131&amp;hy=SH&amp;storeid=323032303037303730393238343330303039336638343037626536396133666165313466303930303030303036653032303034666232&amp;ef=2&amp;bizid=1022\" aeskey=\"ff74369165534d1f93f14fb6f8aa71a1\" externurl=\"http://vweixinf.tc.qq.com/110/20403/stodownload?m=e58324cfd2d729f41e4c22d9b0aa5a66&amp;filekey=30440201010430302e02016e04025348042065353833323463666432643732396634316534633232643962306161356136360203011740040d00000004627466730000000131&amp;hy=SH&amp;storeid=323032303037303730393238343330303063313664383037626536396133666165313466303930303030303036653033303034666233&amp;ef=3&amp;bizid=1022\" externmd5=\"121278ed3afb5e814af7eef30488e710\" width=\"341\" height=\"341\" tpurl=\"\" tpauthkey=\"\" attachedtext=\"\" attachedtextcolor=\"\" lensid=\"\" emojiattr=\"\" linkid=\"\" desc=\"\"></emoji><gameext type=\"0\" content=\"0\"></gameext></msg>",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "length": 949505,
        "md5": "e8991233cb9c4fee7314299e27e8b6dc",
        "msgId": 1052001244,
        "newMsgId": 6616304990064765899,
        "self": false,
        "timestamp": 1640775098,
        "toUser": "wxid_phyyedw9xap22",
        "url": "http://vweixinf.tc.qq.com/110/20401/stodownload?m=e8991233cb9c4fee7314299e27e8b6dc&filekey=30440201010430302e02016e040253480420653839393132333363623963346665653733313432393965323765386236646302030e7d01040d00000004627466730000000131&hy=SH&storeid=323032303037303730393238343330303037303536623037626536396133666165313466303930303030303036653031303034666231&ef=1&bizid=1022",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60006",
    "wcId": "wxid_phyyedw9xap22"
}
私聊链接
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title>中国海关,准备就绪!</title>\n\t\t<des />\n\t\t<action />\n\t\t<type>5</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url>http://mp.weixin.qq.com/s?__biz=MjM5MDk1NzQzMQ==&amp;mid=2653538757&amp;idx=1&amp;sn=589cc18331c4fe5f08c91c5595996d38&amp;chksm=bd6183dd8a160acb4b19bcec87792c02df2d970cb2845a72148fee31981d7efbf59729d5e452&amp;mpshare=1&amp;scene=1&amp;srcid=1229OMkEwmYGTKEMJ5MOghZ1&amp;sharer_sharetime=1640775177604&amp;sharer_shareid=704fc54cfed53ed6c8e85a2cf504a0f5#rd</url>\n\t\t<lowurl />\n\t\t<dataurl />\n\t\t<lowdataurl />\n\t\t<appattach>\n\t\t\t<totallen>0</totallen>\n\t\t\t<attachid />\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext />\n\t\t\t<aeskey></aeskey>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername>gh_95b0feda9646</sourceusername>\n\t\t<sourcedisplayname>环球时报</sourcedisplayname>\n\t\t<thumburl>https://mmbiz.qlogo.cn/mmbiz_jpg/wlCrBZoK8HEYzxydicBgANicukYho2mYs4h4OajaAYlOSuQjOM3JA1r0zj1KJfX8TKb3Ed1UqlwmbjK6Ruf4uB6A/300?wx_fmt=jpeg&amp;wxfrom=1</thumburl>\n\t\t<md5 />\n\t\t<statextstr />\n\t\t<mmreadershare>\n\t\t\t<itemshowtype>0</itemshowtype>\n\t\t</mmreadershare>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>1</version>\n\t\t<appname />\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001245,
        "msgType": 49,
        "newMsgId": 6198297522355015752,
        "self": false,
        "timestamp": 1640775180,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60007",
    "wcId": "wxid_phyyedw9xap22"
}
文件消息

本条消息表示对方向你发送一个文件,但是还未上传完成,此时还不可下载,收到60009类型消息才可执行下载操作。

{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title><![CDATA[file.txt]]></title>\n\t\t<type>74</type>\n\t\t<showtype>0</showtype>\n\t\t<appattach>\n\t\t\t<totallen>13</totallen>\n\t\t\t<fileext><![CDATA[txt]]></fileext>\n\t\t\t<fileuploadtoken>v1_ck2x/KZi6vUwGymz+K11h2w7IL+akwJFVCpUqVJoxLpQWPJ0Sqocp8FZhZaeE/VWW8T9hNYSrcuDRWBQ8dLu/QpvBzBxEyEgPMMk2/aTZL1g0OXCKfsUKtiGvOCiyOjTnoSmWxzl3hZSrH61WEqXCxYOjo5xdjUkIGgiAzN5PYJoFyRI/GWzwZHJ64WYNmJ4lYg=</fileuploadtoken>\n\t\t\t<status>0</status>\n\t\t</appattach>\n\t\t<md5><![CDATA[2ee0bd0c29c28610c8be7b8864603292]]></md5>\n\t\t<laninfo><![CDATA[]]></laninfo>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001247,
        "msgType": 49,
        "newMsgId": 4258397484700058754,
        "self": false,
        "timestamp": 1640775282,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60008",
    "wcId": "wxid_phyyedw9xap22"
}
文件发送完成

对方发送的文件消息上传完成,此时可执行下载文件操作。

{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title>file.txt</title>\n\t\t<des />\n\t\t<action />\n\t\t<type>6</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url />\n\t\t<lowurl />\n\t\t<dataurl />\n\t\t<lowdataurl />\n\t\t<appattach>\n\t\t\t<totallen>13</totallen>\n\t\t\t<attachid>@cdn_304d0201000446304402010002043904752002033d11fd0204ba6f66b4020461cc3e72041f777869645f7068797965647739786170323231375f313634303737353238310204011400050201000400_4f1929d0ee79f1c396a1f1ce80ecb1b6_1</attachid>\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext>txt</fileext>\n\t\t\t<cdnattachurl>304d0201000446304402010002043904752002033d11fd0204ba6f66b4020461cc3e72041f777869645f7068797965647739786170323231375f313634303737353238310204011400050201000400</cdnattachurl>\n\t\t\t<aeskey>4f1929d0ee79f1c396a1f1ce80ecb1b6</aeskey>\n\t\t\t<encryver>0</encryver>\n\t\t\t<overwrite_newmsgid>4258397484700058754</overwrite_newmsgid>\n\t\t\t<fileuploadtoken>v1_ck2x/KZi6vUwGymz+K11h2w7IL+akwJFVCpUqVJoxLpQWPJ0Sqocp8FZhZaeE/VWW8T9hNYSrcuDRWBQ8dLu/QpvBzBxEyEgPMMk2/aTZL1g0OXCKfsUKtiGvOCiyOjTnoSmWxzl3hZSrH61WEqXCxYOjo5xdjUkIGgiAzN5PYJoFyRI/GWzwZHJ64WYNmJ4lYg=</fileuploadtoken>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername />\n\t\t<sourcedisplayname />\n\t\t<thumburl />\n\t\t<md5>2ee0bd0c29c28610c8be7b8864603292</md5>\n\t\t<statextstr />\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>1</version>\n\t\t<appname />\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001248,
        "msgType": 49,
        "newMsgId": 4778609346741021041,
        "self": false,
        "timestamp": 1640775282,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60009",
    "wcId": "wxid_phyyedw9xap22"
}
小程序
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title>79.9元抢calbee水果麦片500g*2</title>\n\t\t<des />\n\t\t<action />\n\t\t<type>33</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url>https://mp.weixin.qq.com/mp/waerrpage?appid=wx7a7d69b9b39f7bee&amp;type=upgrade&amp;upgradetype=3#wechat_redirect</url>\n\t\t<lowurl />\n\t\t<dataurl />\n\t\t<lowdataurl />\n\t\t<appattach>\n\t\t\t<totallen>0</totallen>\n\t\t\t<attachid />\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext />\n\t\t\t<cdnthumburl>308184020100047830760201000204873a332402032f55f902048a0260b4020461cc373e0451777875706c6f61645f32333136303630353830374063686174726f6f6d323537315f313634303737333433385f36376439623937362d636438652d346131612d616530662d6261343930623033636131380204012800030201000405004c54a100</cdnthumburl>\n\t\t\t<cdnthumbmd5>7dc60068fd3efdace5912019d00aca8a</cdnthumbmd5>\n\t\t\t<cdnthumblength>60699</cdnthumblength>\n\t\t\t<cdnthumbwidth>800</cdnthumbwidth>\n\t\t\t<cdnthumbheight>800</cdnthumbheight>\n\t\t\t<cdnthumbaeskey>7edb123c30e0073128beda655f75ab66</cdnthumbaeskey>\n\t\t\t<aeskey>7edb123c30e0073128beda655f75ab66</aeskey>\n\t\t\t<encryver>0</encryver>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername>gh_2e13abc16dfe@app</sourceusername>\n\t\t<sourcedisplayname>来伊份社区团</sourcedisplayname>\n\t\t<thumburl />\n\t\t<md5 />\n\t\t<statextstr />\n\t\t<weappinfo>\n\t\t\t<username><![CDATA[gh_2e13abc16dfe@app]]></username>\n\t\t\t<appid><![CDATA[wx7a7d69b9b39f7bee]]></appid>\n\t\t\t<type>2</type>\n\t\t\t<version>193</version>\n\t\t\t<weappiconurl><![CDATA[]]></weappiconurl>\n\t\t\t<pagepath><![CDATA[packageA/pages/detail/detail.html?grouponNormalActivityCode=1415877401576005633]]></pagepath>\n\t\t\t<shareId><![CDATA[0_wx7a7d69b9b39f7bee_25984984461272332@openim_1640772146_0]]></shareId>\n\t\t\t<pkginfo>\n\t\t\t\t<type>0</type>\n\t\t\t\t<md5><![CDATA[]]></md5>\n\t\t\t</pkginfo>\n\t\t\t<appservicetype>0</appservicetype>\n\t\t</weappinfo>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>1</version>\n\t\t<appname />\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001249,
        "msgType": 49,
        "newMsgId": 5426804470189498406,
        "self": false,
        "timestamp": 1640775454,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60010",
    "wcId": "wxid_phyyedw9xap22"
}
聊天记录
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title>群聊的聊天记录</title>\n\t\t<des />\n\t\t<action />\n\t\t<type>19</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url>https://support.weixin.qq.com/cgi-bin/mmsupport-bin/readtemplate?t=page/favorite_record__w_unsupport</url>\n\t\t<lowurl />\n\t\t<dataurl />\n\t\t<lowdataurl />\n\t\t<appattach>\n\t\t\t<totallen>0</totallen>\n\t\t\t<attachid />\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext />\n\t\t\t<aeskey></aeskey>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername />\n\t\t<sourcedisplayname />\n\t\t<thumburl />\n\t\t<md5 />\n\t\t<statextstr />\n\t\t<recorditem><![CDATA[<recordinfo><fromscene>2</fromscene><favusername>wxid_1dfgh4fs8vz22</favusername><title>群聊的聊天记录</title><desc>周名权: 提出跨年行情的时候就说了 不是指数\n凤🌷: 指数跨不过去了,就跨个股</desc><info>周名权: 提出跨年行情的时候就说了 不是指数\n凤🌷: 指数跨不过去了,就跨个股</info><datalist count = \"2\"><dataitem datatype=\"1\" dataid=\"ac9ef3347a56273643a1cae7310eb150\" htmlid=\"ac9ef3347a56273643a1cae7310eb150\"><sourcename>周名权</sourcename><sourcetime>2021-12-29 17:01</sourcetime><datadesc>提出跨年行情的时候就说了 不是指数</datadesc><cdnencryver>1</cdnencryver><srcChatname>23484108809@chatroom</srcChatname><srcMsgLocalid>2643</srcMsgLocalid><srcMsgCreateTime>1640768495</srcMsgCreateTime><dataitemsource><realchatname>25984984931986584@openim</realchatname></dataitemsource></dataitem><dataitem datatype=\"1\" dataid=\"7af96fda72915570df7b2e93b3c502db\" htmlid=\"7af96fda72915570df7b2e93b3c502db\"><sourcename>凤🌷</sourcename><sourcetime>2021-12-29 17:03</sourcetime><datadesc>指数跨不过去了,就跨个股</datadesc><cdnencryver>1</cdnencryver><srcChatname>23484108809@chatroom</srcChatname><srcMsgLocalid>2644</srcMsgLocalid><srcMsgCreateTime>1640768588</srcMsgCreateTime><dataitemsource><realchatname>wxid_s973vyyr4eci22</realchatname></dataitemsource></dataitem></datalist></recordinfo>]]></recorditem>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>1</version>\n\t\t<appname />\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001250,
        "msgType": 49,
        "newMsgId": 6008052552246683327,
        "self": false,
        "timestamp": 1640775529,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60011",
    "wcId": "wxid_phyyedw9xap22"
}
语音电话
{
    "account": "17200000000",
    "data": {
        "content": "<voipinvitemsg><roomid>104120258</roomid><key>7047095848028193329</key><status>2</status><invitetype>1</invitetype></voipinvitemsg>",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001254,
        "msgType": 50,
        "newMsgId": 8026581908180558644,
        "self": false,
        "timestamp": 1640775600,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "60012",
    "wcId": "wxid_phyyedw9xap22"
}
引用消息
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title>hahaha</title>\n\t\t<des />\n\t\t<action />\n\t\t<type>57</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url />\n\t\t<lowurl />\n\t\t<dataurl />\n\t\t<lowdataurl />\n\t\t<appattach>\n\t\t\t<totallen>0</totallen>\n\t\t\t<attachid />\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext />\n\t\t\t<aeskey></aeskey>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername />\n\t\t<sourcedisplayname />\n\t\t<thumburl />\n\t\t<md5 />\n\t\t<statextstr />\n\t\t<refermsg>\n\t\t\t<type>1</type>\n\t\t\t<svrid>4419301603604875150</svrid>\n\t\t\t<fromusr>wxid_phyyedw9xap22</fromusr>\n\t\t\t<chatusr>wxid_1dfgh4fs8vz22</chatusr>\n\t\t\t<displayname>我们一起笑。</displayname>\n\t\t\t<content>我通过了你的朋友验证请求,现在我们可以开始聊天了</content>\n\t\t\t<msgsource>&lt;msgsource&gt;\n\t&lt;signature&gt;v1_P74xMsYk&lt;/signature&gt;\n&lt;/msgsource&gt;\n</msgsource>\n\t\t</refermsg>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>1</version>\n\t\t<appname />\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001290,
        "msgType": 49,
        "newMsgId": 5318882366203512671,
        "self": false,
        "timestamp": 1640854964,
        "title": "hahaha",
        "toUser": "wxid_phyyedw9xap22",
        "wId": "eec45340-78e5-462e-a364-d1d08a757932"
    },
    "messageType": "60014",
    "wcId": "wxid_phyyedw9xap22"
}
转账
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"\">\n\t\t<title><![CDATA[微信转账]]></title>\n\t\t<des><![CDATA[收到转账0.01元。如需收钱,请点此升级至最新版本]]></des>\n\t\t<action />\n\t\t<type>2000</type>\n\t\t<content><![CDATA[]]></content>\n\t\t<url><![CDATA[https://support.weixin.qq.com/cgi-bin/mmsupport-bin/readtemplate?t=page/common_page__upgrade&text=text001&btn_text=btn_text_0]]></url>\n\t\t<thumburl><![CDATA[https://support.weixin.qq.com/cgi-bin/mmsupport-bin/readtemplate?t=page/common_page__upgrade&text=text001&btn_text=btn_text_0]]></thumburl>\n\t\t<lowurl />\n\t\t<extinfo />\n\t\t<wcpayinfo>\n\t\t\t<paysubtype>1</paysubtype>\n\t\t\t<feedesc><![CDATA[¥0.01]]></feedesc>\n\t\t\t<transcationid><![CDATA[100005000121123000079142024251556176]]></transcationid>\n\t\t\t<transferid><![CDATA[1000050001202112300914627472259]]></transferid>\n\t\t\t<invalidtime><![CDATA[1640931427]]></invalidtime>\n\t\t\t<begintransfertime><![CDATA[1640845027]]></begintransfertime>\n\t\t\t<effectivedate><![CDATA[1]]></effectivedate>\n\t\t\t<pay_memo><![CDATA[]]></pay_memo>\n\t\t\t<receiver_username><![CDATA[wxid_phyyedw9xap22]]></receiver_username>\n\t\t\t<payer_username><![CDATA[]]></payer_username>\n\t\t</wcpayinfo>\n\t</appmsg>\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001258,
        "msgType": 49,
        "newMsgId": 7902282641268000679,
        "self": false,
        "timestamp": 1640845027,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "60015",
    "wcId": "wxid_phyyedw9xap22"
}
红包
{
    "account": "17200000000",
    "data": {
        "content": "<msg>\n\t<appmsg appid=\"\" sdkver=\"\">\n\t\t<des><![CDATA[我给你发了一个红包,赶紧去拆!]]></des>\n\t\t<url><![CDATA[https://wxapp.tenpay.com/mmpayhb/wxhb_personalreceive?showwxpaytitle=1&msgtype=1&channelid=1&sendid=1000039801202112307033014170703&ver=6&sign=4aa57c40ee67393233f0e33fde0f59e19155f18a8bbd50457a07abda856506b6005f676e589fb100da993fc9366342c76b23faf35abec19d66d8c8b298c80d2a3a381caf7e095f6d2afebb246b53fb73]]></url>\n\t\t<type><![CDATA[2001]]></type>\n\t\t<title><![CDATA[微信红包]]></title>\n\t\t<thumburl><![CDATA[https://wx.gtimg.com/hongbao/1800/hb.png]]></thumburl>\n\t\t<wcpayinfo>\n\t\t\t<templateid><![CDATA[7a2a165d31da7fce6dd77e05c300028a]]></templateid>\n\t\t\t<url><![CDATA[https://wxapp.tenpay.com/mmpayhb/wxhb_personalreceive?showwxpaytitle=1&msgtype=1&channelid=1&sendid=1000039801202112307033014170703&ver=6&sign=4aa57c40ee67393233f0e33fde0f59e19155f18a8bbd50457a07abda856506b6005f676e589fb100da993fc9366342c76b23faf35abec19d66d8c8b298c80d2a3a381caf7e095f6d2afebb246b53fb73]]></url>\n\t\t\t<iconurl><![CDATA[https://wx.gtimg.com/hongbao/1800/hb.png]]></iconurl>\n\t\t\t<receivertitle><![CDATA[恭喜发财,大吉大利]]></receivertitle>\n\t\t\t<sendertitle><![CDATA[恭喜发财,大吉大利]]></sendertitle>\n\t\t\t<scenetext><![CDATA[微信红包]]></scenetext>\n\t\t\t<senderdes><![CDATA[查看红包]]></senderdes>\n\t\t\t<receiverdes><![CDATA[领取红包]]></receiverdes>\n\t\t\t<nativeurl><![CDATA[wxpay://c2cbizmessagehandler/hongbao/receivehongbao?msgtype=1&channelid=1&sendid=1000039801202112307033014170703&sendusername=wxid_1dfgh4fs8vz22&ver=6&sign=4aa57c40ee67393233f0e33fde0f59e19155f18a8bbd50457a07abda856506b6005f676e589fb100da993fc9366342c76b23faf35abec19d66d8c8b298c80d2a3a381caf7e095f6d2afebb246b53fb73]]></nativeurl>\n\t\t\t<sceneid><![CDATA[1002]]></sceneid>\n\t\t\t<innertype><![CDATA[0]]></innertype>\n\t\t\t<paymsgid><![CDATA[1000039801202112307033014170703]]></paymsgid>\n\t\t\t<scenetext>微信红包</scenetext>\n\t\t\t<locallogoicon><![CDATA[c2c_hongbao_icon_cn]]></locallogoicon>\n\t\t\t<invalidtime><![CDATA[1640931487]]></invalidtime>\n\t\t\t<broaden />\n\t\t</wcpayinfo>\n\t</appmsg>\n\t<fromusername><![CDATA[wxid_1dfgh4fs8vz22]]></fromusername>\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001259,
        "msgType": 49,
        "newMsgId": 3991143458254360859,
        "self": false,
        "timestamp": 1640845087,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "60016",
    "wcId": "wxid_phyyedw9xap22"
}
视频号
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title>当前微信版本不支持展示该内容,请升级至最新版本。</title>\n\t\t<des />\n\t\t<action />\n\t\t<type>51</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url>https://support.weixin.qq.com/security/readtemplate?t=w_security_center_website/upgrade</url>\n\t\t<lowurl />\n\t\t<dataurl />\n\t\t<lowdataurl />\n\t\t<songalbumurl />\n\t\t<songlyric />\n\t\t<appattach>\n\t\t\t<totallen>0</totallen>\n\t\t\t<attachid />\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext />\n\t\t\t<cdnthumbaeskey />\n\t\t\t<aeskey></aeskey>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername />\n\t\t<sourcedisplayname />\n\t\t<thumburl />\n\t\t<md5 />\n\t\t<statextstr />\n\t\t<directshare>0</directshare>\n\t\t<recorditem><![CDATA[(null)]]></recorditem>\n\t\t<finderFeed>\n\t\t\t<objectId><![CDATA[13684761428123584668]]></objectId>\n\t\t\t<feedType><![CDATA[4]]></feedType>\n\t\t\t<nickname><![CDATA[李苟锋]]></nickname>\n\t\t\t<avatar><![CDATA[http://wx.qlogo.cn/finderhead/CkjbxeKg89lbcGkCJzsYIOE1yT3KxibqNy0fBOvWmszs/0]]></avatar>\n\t\t\t<desc><![CDATA[通往成功的路,我总是在施工]]></desc>\n\t\t\t<mediaCount><![CDATA[1]]></mediaCount>\n\t\t\t<objectNonceId><![CDATA[14439133818293695894_0_18_9]]></objectNonceId>\n\t\t\t<liveId><![CDATA[0]]></liveId>\n\t\t\t<username><![CDATA[v2_060000231003b20faec8c5e48c19c2d4ce0cec33b07728882cf3f30213a23bc9bd0f2c5e4201@finder]]></username>\n\t\t\t<authIconUrl><![CDATA[]]></authIconUrl>\n\t\t\t<authIconType>0</authIconType>\n\t\t\t<mediaList>\n\t\t\t\t<media>\n\t\t\t\t\t<thumbUrl><![CDATA[http://wxapp.tc.qq.com/251/20350/stodownload?encfilekey=XGocBFxVWK5dcyOOqpEU4yZ0ia4qlCRBBSY7SyTzlX22eKdGfJuJFfJbzhaYFnaHu85aDuhPAMp93Drxia45bT1ETnJUZibf6gzZVSE0kgZ8LC3icu6zbRdibzsOribkltCEv3f0hZvNHFmogs4ufKe3iaviaEWib5YjicFFb4x0iaq8MvfKVf4X96gRhrgRlXXOOsn10XW&adaptivelytrans=0&bizid=1023&dotrans=0&hy=SZ&idx=1&m=7dad0a4f3fc3843c32a88b7eca10f797&token=x5Y29zUxcibDHxWfF8R3aoyHB2PYYXAId0P6mU6hRd1eAQOqG7nvkicYUWKXYhoYj4]]></thumbUrl>\n\t\t\t\t\t<fullCoverUrl><![CDATA[]]></fullCoverUrl>\n\t\t\t\t\t<videoPlayDuration><![CDATA[34]]></videoPlayDuration>\n\t\t\t\t\t<url><![CDATA[http://wxapp.tc.qq.com/251/20302/stodownload?encfilekey=Cvvj5Ix3eezXKmVNfShJRUicJJMYPEroic4L0paJjibKRLBgW8cNWYJuaLQOcd9pBDiajd8LvmB08GRnRPsFD3cIBuKIsYtNic3NiakGibVG4jqeX8pXgULFWeX5GP2M2wJqW13ExAFMMU3OPKdPsvVJWdhTyFpFic0py2QbibQiaa4ViaokM0IXZvTNkHOGVX4v4QicFe4bNaBNBQ0oylc&a=1&adaptivelytrans=0&bizid=1023&dotrans=2990&hy=SZ&idx=1&m=e3e356ef4abb657198c61686ca6f286b]]></url>\n\t\t\t\t\t<coverUrl><![CDATA[]]></coverUrl>\n\t\t\t\t\t<height><![CDATA[1920]]></height>\n\t\t\t\t\t<mediaType><![CDATA[4]]></mediaType>\n\t\t\t\t\t<fullClipInset><![CDATA[]]></fullClipInset>\n\t\t\t\t\t<width><![CDATA[1080]]></width>\n\t\t\t\t</media>\n\t\t\t</mediaList>\n\t\t\t<megaVideo>\n\t\t\t\t<objectId><![CDATA[]]></objectId>\n\t\t\t\t<objectNonceId><![CDATA[]]></objectNonceId>\n\t\t\t</megaVideo>\n\t\t\t<bizUsername><![CDATA[]]></bizUsername>\n\t\t\t<bizNickname><![CDATA[]]></bizNickname>\n\t\t\t<bizAvatar><![CDATA[]]></bizAvatar>\n\t\t\t<bizUsernameV2><![CDATA[]]></bizUsernameV2>\n\t\t\t<bizAuthIconUrl><![CDATA[]]></bizAuthIconUrl>\n\t\t\t<bizAuthIconType>0</bizAuthIconType>\n\t\t</finderFeed>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>1</version>\n\t\t<appname />\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001260,
        "msgType": 49,
        "newMsgId": 8011230988657216373,
        "self": false,
        "timestamp": 1640845126,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "60017",
    "wcId": "wxid_phyyedw9xap22"
}
撤回消息
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"revokemsg\">\n\t<revokemsg>\n\t\t<session>wxid_1dfgh4fs8vz22</session>\n\t\t<msgid>1052001260</msgid>\n\t\t<newmsgid>8011230988657216373</newmsgid>\n\t\t<replacemsg><![CDATA[\"朝夕\" 撤回了一条消息]]></replacemsg>\n\t</revokemsg>\n</sysmsg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001261,
        "msgType": 10002,
        "newMsgId": 2333899144955735920,
        "self": false,
        "timestamp": 1640845163,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "60018",
    "wcId": "wxid_phyyedw9xap22"
}
拍一拍
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"pat\">\n<pat>\n  <fromusername>wxid_1dfgh4fs8vz22</fromusername>\n  <chatusername>wxid_phyyedw9xap22</chatusername>\n  <pattedusername>wxid_phyyedw9xap22</pattedusername>\n  <patsuffix><![CDATA[]]></patsuffix>\n  <patsuffixversion>0</patsuffixversion>\n\n\n\n\n  <template><![CDATA[\"${wxid_1dfgh4fs8vz22}\" 拍了拍我]]></template>\n\n\n\n\n</pat>\n</sysmsg>",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001262,
        "msgType": 10002,
        "newMsgId": 3519946550641157282,
        "self": false,
        "timestamp": 1640845200,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "60019",
    "wcId": "wxid_phyyedw9xap22"
}
地理位置
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<location x=\"31.239580\" y=\"121.499763\" scale=\"15\" label=\"上海市浦东新区世纪大道1号\" maptype=\"roadmap\" poiname=\"东方明珠广播电视塔\" poiid=\"qqmap_15588308480676188216\" />\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001263,
        "newMsgId": 1023589303761394188,
        "self": false,
        "timestamp": 1640845250,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "60020",
    "wcId": "wxid_phyyedw9xap22"
}
音乐分享
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"wx5aa333606550dfd5\" sdkver=\"0\">\n\t\t<title>红玫瑰</title>\n\t\t<des>陈奕迅</des>\n\t\t<action />\n\t\t<type>76</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url>https://i.y.qq.com/v8/playsong.html?hosteuin=oK6kowEAoK4z7eSFoK-F7K-sNv**&amp;sharefrom=gedan&amp;from_id=7956812187&amp;from_idtype=10014&amp;from_name=JUU1JThEJThFJUU4JUFGJUFEJUU3JUIyJUJFJUU5JTgwJTg5JUU0JUI4JUE4JUU5JTgyJUEzJUU0JUJBJTlCJUU4JUI2JTg1JUU1JUE1JUJEJUU1JTkwJUFDJUU3JTlBJTg0JUU2JUI1JTgxJUU4JUExJThDJUU3JTgzJUFEJUU2JUFEJThD&amp;songid=1313990&amp;songmid=&amp;type=0&amp;platform=(10rpl)&amp;appsongtype=(11rpl)&amp;_wv=1&amp;source=qq&amp;appshare=iphone&amp;media_mid=003LnSNo1ecdc3&amp;ADTAG=wxfshare</url>\n\t\t<lowurl />\n\t\t<dataurl>http://c6.y.qq.com/rsc/fcgi-bin/fcg_pyq_play.fcg?songid=0&amp;songmid=004EzHKM2jXY9i&amp;songtype=1&amp;fromtag=46&amp;uin=1152921504781285269&amp;code=48546</dataurl>\n\t\t<lowdataurl />\n\t\t<songalbumurl>http://wxapp.tc.qq.com/202/20304/stodownload?filekey=30350201010421301f020200ca040253480410db827a89ced4fba3f2829a161ac66dfe0203072f43040d00000004627466730000000131&amp;hy=SH&amp;storeid=32303231313233303134323134383030306132303835383339396363383464636566373136343030303030306361&amp;bizid=1023</songalbumurl>\n\t\t<songlyric />\n\t\t<appattach>\n\t\t\t<totallen>0</totallen>\n\t\t\t<attachid />\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext />\n\t\t\t<cdnthumburl>3081800201000474307202010002048399cc8402032f55f90204540260b4020461cd4ffd044d777875706c6f61645f777869645f7068797965647739786170323232365f313634303834353330385f66643337653431662d356631652d343532372d616663332d6663306334663839666131360204011800030201000405004c54a100</cdnthumburl>\n\t\t\t<cdnthumbmd5>c2591028c8fc31e4d5000daa16006699</cdnthumbmd5>\n\t\t\t<cdnthumblength>5404</cdnthumblength>\n\t\t\t<cdnthumbwidth>150</cdnthumbwidth>\n\t\t\t<cdnthumbheight>150</cdnthumbheight>\n\t\t\t<cdnthumbaeskey>841c2cc9895436385e27fa3d7e4b6f8c</cdnthumbaeskey>\n\t\t\t<aeskey>841c2cc9895436385e27fa3d7e4b6f8c</aeskey>\n\t\t\t<encryver>0</encryver>\n\t\t\t<filekey>wxid_phyyedw9xap2226_1640845308</filekey>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername />\n\t\t<sourcedisplayname />\n\t\t<thumburl />\n\t\t<md5 />\n\t\t<statextstr>GhQKEnd4NWFhMzMzNjA2NTUwZGZkNQ==</statextstr>\n\t\t<directshare>0</directshare>\n\t\t<recorditem><![CDATA[(null)]]></recorditem>\n\t\t<musicShareItem>\n\t\t\t<mvSingerName>陈奕迅</mvSingerName>\n\t\t\t<mvAlbumName>认了吧</mvAlbumName>\n\t\t\t<musicDuration>239</musicDuration>\n\t\t</musicShareItem>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>53</version>\n\t\t<appname>QQ音乐</appname>\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001264,
        "msgType": 49,
        "newMsgId": 2590325202751316207,
        "self": false,
        "timestamp": 1640845309,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "60021",
    "wcId": "wxid_phyyedw9xap22"
}
群聊邀请链接
  • des:描述
  • thumbUrl:群头像缩略图
  • url:邀请链接,可通过自动同意入群邀请接口实现自动入群
{
    "account": "17200000000",
    "data": {
        "content": "<msg><appmsg appid=\"\" sdkver=\"\"><title><![CDATA[邀请你加入群聊]]></title><des><![CDATA[\"朝夕\"邀请你加入群聊\"小区群\",进入可查看详情。]]></des><action>view</action><type>5</type><showtype>0</showtype><content></content><url><![CDATA[https://support.weixin.qq.com/cgi-bin/mmsupport-bin/addopenimchatroombyinvite?ticket=vOojIv-RekV0]]></url><thumburl><![CDATA[https://u.weixin.qq.com/cgi-bin/getchatroomheadimg?username=A55ceab33bdf735bddd493ce95de6238bea90fa460fbee6472861ed9e3529a6db&from=1]]></thumburl><lowurl></lowurl><appattach><totallen>0</totallen><attachid></attachid><fileext></fileext></appattach><extinfo></extinfo></appmsg><appinfo><version></version><appname></appname></appinfo></msg>",
        "des": "\"朝夕\"邀请你加入群聊\"小区群\",进入可查看详情。",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074832,
        "msgType": 49,
        "newMsgId": 4193864556411725263,
        "self": false,
        "thumbUrl": "https://u.weixin.qq.com/cgi-bin/getchatroomheadimg?username=A55ceab33bdf735bddd493ce95de6238bea90fa460fbee6472861ed9e3529a6db&from=1",
        "timestamp": 1640855567,
        "title": "邀请你加入群聊",
        "toUser": "wxid_phyyedw9xap22",
        "url": "https://support.weixin.qq.com/cgi-bin/mmsupport-bin/addopenimchatroombyinvite?ticket=vOojIt4buv-RekV0",
        "wId": "eec45340-78e5-462e-a364-d1d08a757932"
    },
    "messageType": "60022",
    "wcId": "wxid_phyyedw9xap22"
}
好友信息变更通知
{
    "account": "17200000000",
    "data": {
        "addContactScene": 0,
        "bigHeadImgUrl": "https://wx.qlogo.cn/mmhead/ver_1/Ke2gH4JiaP6Td2JbbHhjcr7p1lfunLxMFfibW1kqdxnaYzibqhmIIx2buURq00qfaxnl8dr9htiaCNSnuyfSriaacAn511Mf5Y6pVqAruxrg8BrE/0",
        "bitMask": 4294967295,
        "chatRoomNotify": 0,
        "chatRoomStatus": 0,
        "description": "\b\u0000\u0018\u0000\"\u0000(\u00008\u0000",
        "encryptUserName": "v3_020b3826fd0301000000000066881597b1f896000000501ea9a3dba12f95f6b60a0536a1adb6348d6f1f4712526aa5d30bcdc496b5bcf094375b83a0e8c16f920efe18ae7802ec1a5e70dfadcddc508fa4d65d@stranger",
        "labelIdList": "17,20",
        "nickName": "朝夕",
        "smallHeadImgUrl": "https://wx.qlogo.cn/mmhead/ver_1/Ke2gH4JiaP6Td2JbbHhjcr7p1lfunLxMFfibW1kqdxnaYzibqhmIIx2buURq00qfaxnl8dr9htiaCNSnuyfSriaacAn511Mf5Y6pVqAruxrg8BrE/132",
        "userName": "wxid_1dfgh4fs8vz22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "65001",
    "wcId": "wxid_phyyedw9xap22"
}
好友开启朋友验证通知(被删除)
{
    "account": "17200000000",
    "data": {
        "content": "朝夕开启了朋友验证,你还不是他(她)朋友。请先发送朋友验证请求,对方验证通过后,才能聊天。<a href=\"weixin://findfriend/verifycontact\">发送朋友验证</a>",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074560,
        "msgType": 10000,
        "newMsgId": 3412649573169883418,
        "self": false,
        "timestamp": 1640769886,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "65002",
    "wcId": "wxid_phyyedw9xap22"
}
被对方拒收了(被拉黑)
{
    "account": "17200000000",
    "data": {
        "content": "消息已发出,但被对方拒收了。",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074559,
        "msgType": 10000,
        "newMsgId": 5241437651042898833,
        "self": false,
        "timestamp": 1640769819,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "65003",
    "wcId": "wxid_phyyedw9xap22"
}
删除好友
{
    "account": "17200000000",
    "data": {
        "userName": "wxid_1dfgh4fs8vz22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "65004",
    "wcId": "wxid_phyyedw9xap22"
}
私聊其他消息

其他未识别私聊消息均返回60999

{
    "account": "17200000000",
    "data": {
        "content": "<msg>\n<op id='2'>\n<username>wxid_1dfgh4fs8vz22</username>\n<name></name>\n<arg></arg>\n</op>\n</msg>",
        "fromUser": "wxid_phyyedw9xap22",
        "msgId": 1685074681,
        "msgType": 51,
        "newMsgId": 6998424684165124971,
        "self": true,
        "timestamp": 1640845397,
        "toUser": "wxid_1dfgh4fs8vz22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "60999",
    "wcId": "wxid_phyyedw9xap22"
}

群聊消息

群聊文本
{
    "account": "17200000000",
    "data": {
        "content": "消息内容",
        "fromGroup": "25411981800@chatroom",
        "fromUser": "wxid_ynu1tgjz156j22",
        "memberCount": 8,
        "msgId": 1685074592,
        "atlist": ["wxid_phyyedw9xap22"],
        "newMsgId": 1497474118261484795,
        "self": false,
        "timestamp": 1640772092,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "80001",
    "wcId": "wxid_phyyedw9xap22"
}
群聊图片
  • data.img:图片缩略图
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<img aeskey=\"a2f54d33e9071714eccf63d867b15a74\" encryver=\"1\" cdnthumbaeskey=\"a2f54d33e9071714eccf63d867b15a74\" cdnthumburl=\"307b020100046f306d02010002043904752002032f55f90204b30060b4020461cd5267044831393933313633323634314063686174726f6f6d32325f313634303834353932365f315f65616561336263342d383763372d346635382d386661662d3563303034383064656632320204011800020201000405004c54a100\" cdnthumblength=\"2556\" cdnthumbheight=\"82\" cdnthumbwidth=\"120\" cdnmidheight=\"0\" cdnmidwidth=\"0\" cdnhdheight=\"0\" cdnhdwidth=\"0\" cdnmidimgurl=\"307b020100046f306d02010002043904752002032f55f90204b30060b4020461cd5267044831393933313633323634314063686174726f6f6d32325f313634303834353932365f315f65616561336263342d383763372d346635382d386661662d3563303034383064656632320204011800020201000405004c54a100\" length=\"6957\" md5=\"8aff7b174d8af717aa5cae16e7141aad\" />\n</msg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "img": "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f416wRnvik2D1P50AeX+GfC3imDxUPE/iaQbo87E2qM5QoeVOPSvUFXaMUoGO+aWgCre232y0ktc7fMGM14X4V+GGvWN3Z6bru2TSNLMvlEov73zsluhz8rEda9+pMYoA+f9V+FniAPdaBosipoV8Yzv2KfK8sh+53Hc2ele/RxJFDHCBlYxgZ/Wnnk5NFABXlXxO8Ear4pgtrnw43kanbk7ZQAcbiueCQD8oNeq0hGaAPJG8L/FGePyLjxDFAhABk+yoR+QP4V2fhTwlpvhKze2sCZHlx5khJJYgkj7xJHWuoAwc0tABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQB//0/1H/ZbGPgl4Q/7fP/R719DHrXlXwX8F6h8P/hzoPhXVJFlutN+0eYygqD5srOOD7GvVKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//U/cyiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/1f3MooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD/9b9zKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//X/cyiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/0P3MooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD/9H9zKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//Z",
        "msgId": 1685074705,
        "newMsgId": 4819536544100248391,
        "self": false,
        "timestamp": 1640845927,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80002",
    "wcId": "wxid_phyyedw9xap22"
}
群聊视频

可通过异步下载视频消息接口获取视频内容,务必按需下载,不可收到此回调消息就下载视频

{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<videomsg aeskey=\"3a171212c509146393c163edfbbefa1c\" cdnvideourl=\"3081820201000476307402010002043904752002032f55f90204340260b4020461cd5288044f777875706c6f61645f31393933313633323634314063686174726f6f6d32345f313634303834353935395f39303236393232642d616238662d343263312d613132652d3663333661316162623166310204012800040201000405004c54a100\" cdnthumbaeskey=\"3a171212c509146393c163edfbbefa1c\" cdnthumburl=\"3081820201000476307402010002043904752002032f55f90204340260b4020461cd5288044f777875706c6f61645f31393933313633323634314063686174726f6f6d32345f313634303834353935395f39303236393232642d616238662d343263312d613132652d3663333661316162623166310204012800040201000405004c54a100\" length=\"503723\" playlength=\"2\" cdnthumblength=\"7108\" cdnthumbwidth=\"224\" cdnthumbheight=\"398\" fromusername=\"wxid_1dfgh4fs8vz22\" md5=\"25c5cbbba762cef40d9c3635ca55e5da\" newmd5=\"7a3ce700f7dc8924fcc64022662ed098\" isplaceholder=\"0\" rawmd5=\"\" rawlength=\"0\" cdnrawvideourl=\"\" cdnrawvideoaeskey=\"\" overwritenewmsgid=\"0\" isad=\"0\" />\n</msg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074706,
        "newMsgId": 296522903800672449,
        "self": false,
        "timestamp": 1640845960,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80003",
    "wcId": "wxid_phyyedw9xap22"
}
群聊语音
  • data.bufId:下载语音时会用到
  • data.length:语音文件大小(b)
  • data.voiceLength:语音时长(ms)
{
    "account": "17200000000",
    "data": {
        "bufId": "144832864542720426",
        "content": "<msg><voicemsg endflag=\"1\" length=\"2982\" voicelength=\"1640\" clientmsgid=\"490e77adc00658795ba14f7368fe367919931632641@chatroom25_1640846021\" fromusername=\"wxid_1dfgh4fs8vz22\" downcount=\"0\" cancelflag=\"0\" voiceformat=\"4\" forwardflag=\"0\" bufid=\"217138149667766693\" /></msg>",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "length": 1853,
        "msgId": 1685074707,
        "newMsgId": 7924283184089607043,
        "self": false,
        "timestamp": 1640846022,
        "toUser": "wxid_phyyedw9xap22",
        "voiceLength": 1347,
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80004",
    "wcId": "wxid_phyyedw9xap22"
}
名片消息
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg bigheadimgurl=\"http://wx.qlogo.cn/mmhead/ver_1/fibLOBZqic7ZMkfd0Ghicicy2FOiavR81yl05FelRjCn8dEdyNzohAXWQxfr1fdic8rQqqwsmRNq50fhs4FLD1SJRIfoNvUJPAuMdjLCFibdsyevmk/0\" smallheadimgurl=\"http://wx.qlogo.cn/mmhead/ver_1/fibLOBZqic7ZMkfd0Ghicicy2FOiavR81yl05FelRjCn8dEdyNzohAXWQxfr1fdic8rQqqwsmRNq50fhs4FLD1SJRIfoNvUJPAuMdjLCFibdsyevmk/132\" username=\"v3_020b3826fd03010000000000dd5d10212f95f6b60a0536a1adb6348d6f1f4712526aa5d30bcdc4618358f6b9fa6df2487997c37aa5faedd4d0841c24ceb8bdf3753de61a439efcaf3303bd6dc7236a308833f60d1f9f87@stranger\" nickname=\"智哥\" fullpy=\"zhige\" shortpy=\"\" alias=\"\" imagestatus=\"4\" scene=\"17\" province=\"广东\" city=\"中国大陆\" sign=\"\" sex=\"1\" certflag=\"0\" certinfo=\"\" brandIconUrl=\"\" brandHomeUrl=\"\" brandSubscriptConfigUrl=\"\" brandFlags=\"0\" regionCode=\"CN_Guangdong_Shenzhen\" antispamticket=\"v4_000b708f0b04000001000003cd611000000050ded0b020927e3c97896a09d47e6e9e8ddd082d1ee59cf505f2023419adef126ab940e3fecc3be8ac81a3fce8b250f0174a5fe269bd403b387dfb475c6e23211c39cfbfbcfae84c5b0b0b305c3038cc91bdb327245ceb0899bfe8673b5ee4fa58fd8299a59dcfbd8894d971877264640c97a6fce55395b180773d84b4db84dd75924b38a8a32f518b4a18ff5ade139da496fe01810dd41e730dabe6590b96170961c3839a56befcf94368c410bd58055e0d4ca910ab9917ebb3d8d85b7ebc0b63d2be1c70413be2eccfcdd479d1bc80f24a42694981d5eeaee8067168320e122a7d7ad371d4b5910f332f987e6d384c57f0e67dc372d5ada5@stranger\" />\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074708,
        "newMsgId": 1067529536257820525,
        "self": false,
        "timestamp": 1640846192,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80005",
    "wcId": "wxid_phyyedw9xap22"
}
emoji表情
  • data.length:emoji表情文件大小(b)
  • data.md5:emoji表情的md5
  • data.url:emoji表情的公网链接,可直接用于展示

data.length+data.md5可用于发送Emoji消息接口

{
    "account": "17200000000",
    "data": {
        "content": "<msg><emoji fromusername=\"wxid_1dfgh4fs8vz22\" tousername=\"19931632641@chatroom\" type=\"1\" idbuffer=\"media:0_0\" md5=\"48090d14f774a0cd74c0d146c5ce1df9\" len=\"46030\" productid=\"\" androidmd5=\"48090d14f774a0cd74c0d146c5ce1df9\" androidlen=\"46030\" s60v3md5=\"48090d14f774a0cd74c0d146c5ce1df9\" s60v3len=\"46030\" s60v5md5=\"48090d14f774a0cd74c0d146c5ce1df9\" s60v5len=\"46030\" cdnurl=\"http://vweixinf.tc.qq.com/110/20401/stodownload?m=48090d14f774a0cd74c0d146c5ce1df9&amp;filekey=30440201010430302e02016e0402535a04203438303930643134663737346130636437346330643134366335636531646639020300b3ce040d00000004627466730000000131&amp;hy=SZ&amp;storeid=323032313037303330303134333130303064366661653639653965633130643135393538303930303030303036653031303034666231&amp;ef=1&amp;bizid=1022\" designerid=\"\" thumburl=\"\" encrypturl=\"http://vweixinf.tc.qq.com/110/20402/stodownload?m=eae67ff5bc2fbb10da94bc2e7f46e431&amp;filekey=30440201010430302e02016e0402535a04206561653637666635626332666262313064613934626332653766343665343331020300b3d0040d00000004627466730000000131&amp;hy=SZ&amp;storeid=323032313037303330303134333130303064626630373639653965633130643135393538303930303030303036653032303034666232&amp;ef=2&amp;bizid=1022\" aeskey=\"efd1d7c79ea24d5e87d22ea880ded2da\" externurl=\"http://vweixinf.tc.qq.com/110/20403/stodownload?m=3e7a6fd758780f1ee778698eeb692f68&amp;filekey=3043020101042f302d02016e0402535a0420336537613666643735383738306631656537373836393865656236393266363802025800040d00000004627466730000000131&amp;hy=SZ&amp;storeid=323032313037303330303134333130303065366130353639653965633130643135393538303930303030303036653033303034666233&amp;ef=3&amp;bizid=1022\" externmd5=\"7c6ee119f2be3c72b54f978aee393e44\" width=\"640\" height=\"582\" tpurl=\"\" tpauthkey=\"\" attachedtext=\"\" attachedtextcolor=\"\" lensid=\"\" emojiattr=\"\" linkid=\"\" desc=\"\"></emoji><gameext type=\"0\" content=\"0\"></gameext></msg>",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "length": 46030,
        "md5": "48090d14f774a0cd74c0d146c5ce1df9",
        "msgId": 1685074709,
        "newMsgId": 7603572610007454690,
        "self": false,
        "timestamp": 1640846261,
        "toUser": "wxid_phyyedw9xap22",
        "url": "http://vweixinf.tc.qq.com/110/20401/stodownload?m=48090d14f774a0cd74c0d146c5ce1df9&filekey=30440201010430302e02016e0402535a04203438303930643134663737346130636437346330643134366335636531646639020300b3ce040d00000004627466730000000131&hy=SZ&storeid=323032313037303330303134333130303064366661653639653965633130643135393538303930303030303036653031303034666231&ef=1&bizid=1022",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80006",
    "wcId": "wxid_phyyedw9xap22"
}
链接消息
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title>中国海关,准备就绪!</title>\n\t\t<des />\n\t\t<action />\n\t\t<type>5</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url>http://mp.weixin.qq.com/s?__biz=MjM5MDk1NzQzMQ==&amp;mid=2653538757&amp;idx=1&amp;sn=589cc18331c4fe5f08c91c5595996d38&amp;chksm=bd6183dd8a160acb4b19bcec87792c02df2d970cb2845a72148fee31981d7efbf59729d5e452&amp;mpshare=1&amp;scene=1&amp;srcid=1229OMkEwmYGTKEMJ5MOghZ1&amp;sharer_sharetime=1640775177604&amp;sharer_shareid=704fc54cfed53ed6c8e85a2cf504a0f5#rd</url>\n\t\t<lowurl />\n\t\t<dataurl />\n\t\t<lowdataurl />\n\t\t<appattach>\n\t\t\t<totallen>0</totallen>\n\t\t\t<attachid />\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext />\n\t\t\t<cdnthumburl>3079020100046d306b02010002048399cc8402032f55f90204520260b4020461cd5401044631393933313633323634314063686174726f6f6d32375f313634303834363333375f37396132326262652d343737392d346330352d616234312d3235366531383039636631660204011800030201000405004c54a100</cdnthumburl>\n\t\t\t<cdnthumbmd5 />\n\t\t\t<cdnthumblength>10569</cdnthumblength>\n\t\t\t<cdnthumbwidth>150</cdnthumbwidth>\n\t\t\t<cdnthumbheight>150</cdnthumbheight>\n\t\t\t<cdnthumbaeskey>85d7de11265bbefe7c8ec07934eaed9c</cdnthumbaeskey>\n\t\t\t<aeskey>85d7de11265bbefe7c8ec07934eaed9c</aeskey>\n\t\t\t<encryver>0</encryver>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername>gh_95b0feda9646</sourceusername>\n\t\t<sourcedisplayname>环球时报</sourcedisplayname>\n\t\t<thumburl>https://mmbiz.qlogo.cn/mmbiz_jpg/wlCrBZoK8HEYzxydicBgANicukYho2mYs4h4OajaAYlOSuQjOM3JA1r0zj1KJfX8TKb3Ed1UqlwmbjK6Ruf4uB6A/300?wx_fmt=jpeg&amp;wxfrom=1</thumburl>\n\t\t<md5 />\n\t\t<statextstr />\n\t\t<mmreadershare>\n\t\t\t<itemshowtype>0</itemshowtype>\n\t\t</mmreadershare>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>1</version>\n\t\t<appname />\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074710,
        "msgType": 49,
        "newMsgId": 8414076387214579565,
        "self": false,
        "timestamp": 1640846337,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80007",
    "wcId": "wxid_phyyedw9xap22"
}
文件消息

本条消息表示对方向你发送一个文件,但是还未上传完成,此时还不可下载,收到60009类型消息才可执行下载操作。

{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title><![CDATA[file.txt]]></title>\n\t\t<type>74</type>\n\t\t<showtype>0</showtype>\n\t\t<appattach>\n\t\t\t<totallen>13</totallen>\n\t\t\t<fileext><![CDATA[txt]]></fileext>\n\t\t\t<fileuploadtoken>v1_2bJdBCtks11Hi3n0fjLAu+PwKi0b6SLA5TI/m21xC/f1s/HHW92++qn8LgQJXb+yzZBWFq0I/7u/kQXXLgse7SJ5kprVBL26ei2oif6eyXWztCdICigAc+Ng7IIINODlAuZ4UcbLklBSqyzLSrVo4wciHFc62uh+AdXrNIS1Tk9aIPJe97x+zQzf6VOftPx7yzOdoA==</fileuploadtoken>\n\t\t\t<status>0</status>\n\t\t</appattach>\n\t\t<md5><![CDATA[2ee0bd0c29c28610c8be7b8864603292]]></md5>\n\t\t<laninfo><![CDATA[]]></laninfo>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n</msg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074711,
        "msgType": 49,
        "newMsgId": 5027278483683956586,
        "self": false,
        "timestamp": 1640846386,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80008",
    "wcId": "wxid_phyyedw9xap22"
}
文件发送完成消息

对方发送的文件消息上传完成,此时可执行下载文件操作。

{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title>file.txt</title>\n\t\t<des />\n\t\t<action />\n\t\t<type>6</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url />\n\t\t<lowurl />\n\t\t<dataurl />\n\t\t<lowdataurl />\n\t\t<appattach>\n\t\t\t<totallen>13</totallen>\n\t\t\t<attachid>@cdn_3079020100046d306b02010002043904752002032f55f902042a0260b4020461cd5432044631393933313633323634314063686174726f6f6d32385f313634303834363338365f30643333663163382d616436362d343036642d613032642d6364333935303835346261330204011800050201000405004c54a100_fce9b7c3f5b960659192aa30fd43e0aa_1</attachid>\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext>txt</fileext>\n\t\t\t<cdnattachurl>3079020100046d306b02010002043904752002032f55f902042a0260b4020461cd5432044631393933313633323634314063686174726f6f6d32385f313634303834363338365f30643333663163382d616436362d343036642d613032642d6364333935303835346261330204011800050201000405004c54a100</cdnattachurl>\n\t\t\t<aeskey>fce9b7c3f5b960659192aa30fd43e0aa</aeskey>\n\t\t\t<encryver>0</encryver>\n\t\t\t<overwrite_newmsgid>5027278483683956586</overwrite_newmsgid>\n\t\t\t<fileuploadtoken>v1_2bJdBCtks11Hi3n0fjLAu+PwKi0b6SLA5TI/m21xC/f1s/HHW92++qn8LgQJXb+yzZBWFq0I/7u/kQXXLgse7SJ5kprVBL26ei2oif6eyXWztCdICigAc+Ng7IIINODlAuZ4UcbLklBSqyzLSrVo4wciHFc62uh+AdXrNIS1Tk9aIPJe97x+zQzf6VOftPx7yzOdoA==</fileuploadtoken>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername />\n\t\t<sourcedisplayname />\n\t\t<thumburl />\n\t\t<md5>2ee0bd0c29c28610c8be7b8864603292</md5>\n\t\t<statextstr />\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>1</version>\n\t\t<appname />\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074712,
        "msgType": 49,
        "newMsgId": 8847430375043489377,
        "self": false,
        "timestamp": 1640846387,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80009",
    "wcId": "wxid_phyyedw9xap22"
}
小程序
{
    "account": "17200000000",
    "data": {
        "content": "<msg>\n  <appmsg appid=\"\" sdkver=\"0\">\n    <title><![CDATA[79.9元抢calbee水果麦片500g*2]]></title>\n    <des><![CDATA[]]></des>\n    <action></action>\n    <type>33</type>\n    <showtype>0</showtype>\n    <soundtype>0</soundtype>\n    <mediatagname/>\n    <messageext/>\n    <messageaction/>\n    <content/>\n    <contentattr>0</contentattr>\n    <url>https://mp.weixin.qq.com/mp/waerrpage?appid=wx7a7d69b9b39f7bee&amp;type=upgrade&amp;upgradetype=3#wechat_redirect</url>\n    <lowurl/>\n    <dataurl/>\n    <lowdataurl/>\n    <appattach>\n      <totallen>0</totallen>\n      <attachid/>\n      <emoticonmd5/>\n      <fileext/>\n      <cdnthumburl></cdnthumburl>\n      <cdnthumbmd5></cdnthumbmd5>\n      <cdnthumblength></cdnthumblength>\n      <cdnthumbwidth></cdnthumbwidth>\n      <cdnthumbheight></cdnthumbheight>\n      <cdnthumbaeskey></cdnthumbaeskey>\n      <aeskey></aeskey>\n      <encryver>0</encryver>\n\n      <tpthumburl><![CDATA[https://wwfile.work.weixin.qq.com/cgi-bin/download?f=3069020102046230600201000204edd1e12102030f4241020428475b65020461cbf028042438366661386539332d323263622d343231622d613239312d623766663137643534633230020100020300ed2004107dc60068fd3efdace5912019d00aca8a0201010201000400&t=E8CE632FBD1D7C57047CDA4D58795663B819B5BFC2800682FEB945867A91FDDA07482233DF0F1C3F25A95796CC5098161244B6249BCC52EA7D0CB421F664CDF1A778B1A2E84590DD2D13D88AC1521D756BBF647FFE625971BF55F67365B7C5399EC7C26E83282E6AE9E444673EAAE66FDD1A9E5CCD55FD875EB24F42B2AD894CB1BFC9CD7D274E9E031E450F15B769C6E76AF34E0EB83FDBBD8B9CF9439A3A7273829BD6EE9F184476DA2AF09C46B3C58E108FAD386614FB7270B95C542BF40EF2E8012583E9A91F9E686BA27EB25DF0A6575B20FD947A566FD64BFA68D1057E64B56D126304F63F859754C05A44922BCC6ECE58CC7662566C68B47956E311A17EAEB2A3DF9D80DDA169A1333DF36D38&p=1]]></tpthumburl>\n      <tpthumbaeskey><![CDATA[64623162633534636435316635396333]]></tpthumbaeskey>\n      <tpauthkey><![CDATA[0A2B6F4E2D4D7741514141414143524D31442D2D3469504F7371665F7631336E6E564140696D2E7778776F726B10A6FBE8E303]]></tpauthkey>\n      <tpthumblength><![CDATA[60699]]></tpthumblength>\n      <tpthumbmd5><![CDATA[7dc60068fd3efdace5912019d00aca8a]]></tpthumbmd5>\n      <tpthumbwidth><![CDATA[0]]></tpthumbwidth>\n      <tpthumbheight><![CDATA[0]]></tpthumbheight>\n\n    </appattach>\n    <extinfo/>\n    <sourceusername>gh_2e13abc16dfe@app</sourceusername>\n    <sourcedisplayname><![CDATA[来伊份社区团]]></sourcedisplayname>\n    <thumburl/>\n    <md5/>\n    <statextstr/>\n    <weappinfo>\n      <username><![CDATA[gh_2e13abc16dfe@app]]></username>\n      <appid><![CDATA[wx7a7d69b9b39f7bee]]></appid>\n      <type>2</type>\n      <version>193</version>\n      <weappiconurl><![CDATA[]]></weappiconurl>\n      <pagepath><![CDATA[packageA/pages/detail/detail.html?grouponNormalActivityCode=1415877401576005633]]></pagepath>\n      <shareId><![CDATA[0_wx7a7d69b9b39f7bee_25984984461272332@openim_1640772146_0]]></shareId>\n      <appservicetype>0</appservicetype>\n      <pkginfo><type>0</type></pkginfo>\n    </weappinfo>\n  </appmsg>\n  <fromusername>25984984461272332@openim</fromusername>\n  <scene>0</scene>\n  <appinfo>\n    <version>1</version>\n    <appname/>\n  </appinfo>\n  <commenturl/>\n</msg>",
        "fromGroup": "23930911365@chatroom",
        "fromUser": "25984984461272332@openim",
        "msgId": 1685074595,
        "msgType": 49,
        "newMsgId": 5060225264074596462,
        "self": false,
        "timestamp": 1640772145,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "12491ae9-62aa-4f7a-83e6-9db4e9f28e3c"
    },
    "messageType": "80010",
    "wcId": "wxid_phyyedw9xap22"
}
聊天记录
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title>群聊的聊天记录</title>\n\t\t<des />\n\t\t<action />\n\t\t<type>19</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url>https://support.weixin.qq.com/cgi-bin/mmsupport-bin/readtemplate?t=page/favorite_record__w_unsupport</url>\n\t\t<lowurl />\n\t\t<dataurl />\n\t\t<lowdataurl />\n\t\t<appattach>\n\t\t\t<totallen>0</totallen>\n\t\t\t<attachid />\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext />\n\t\t\t<aeskey></aeskey>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername />\n\t\t<sourcedisplayname />\n\t\t<thumburl />\n\t\t<md5 />\n\t\t<statextstr />\n\t\t<recorditem><![CDATA[<recordinfo><fromscene>2</fromscene><favusername>wxid_1dfgh4fs8vz22</favusername><title>群聊的聊天记录</title><desc>周名权: 提出跨年行情的时候就说了 不是指数\n凤🌷: 指数跨不过去了,就跨个股</desc><info>周名权: 提出跨年行情的时候就说了 不是指数\n凤🌷: 指数跨不过去了,就跨个股</info><datalist count = \"2\"><dataitem datatype=\"1\" dataid=\"ac9ef3347a56273643a1cae7310eb150\" htmlid=\"ac9ef3347a56273643a1cae7310eb150\"><sourcename>周名权</sourcename><sourcetime>2021-12-29 17:01</sourcetime><datadesc>提出跨年行情的时候就说了 不是指数</datadesc><cdnencryver>1</cdnencryver><srcChatname>23484108809@chatroom</srcChatname><srcMsgLocalid>2643</srcMsgLocalid><srcMsgCreateTime>1640768495</srcMsgCreateTime><dataitemsource><realchatname>25984984931986584@openim</realchatname></dataitemsource></dataitem><dataitem datatype=\"1\" dataid=\"7af96fda72915570df7b2e93b3c502db\" htmlid=\"7af96fda72915570df7b2e93b3c502db\"><sourcename>凤🌷</sourcename><sourcetime>2021-12-29 17:03</sourcetime><datadesc>指数跨不过去了,就跨个股</datadesc><cdnencryver>1</cdnencryver><srcChatname>23484108809@chatroom</srcChatname><srcMsgLocalid>2644</srcMsgLocalid><srcMsgCreateTime>1640768588</srcMsgCreateTime><dataitemsource><realchatname>wxid_s973vyyr4eci22</realchatname></dataitemsource></dataitem></datalist></recordinfo>]]></recorditem>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>1</version>\n\t\t<appname />\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074713,
        "msgType": 49,
        "newMsgId": 241673407858343509,
        "self": false,
        "timestamp": 1640846442,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80011",
    "wcId": "wxid_phyyedw9xap22"
}
语音聊天
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"multivoip\"><multivoip><notifydata><![CDATA[CAESHzIyMDc4OTQ2NjBfNjIyNTA1MTY3XzE2NDA4NDY3ODQY0YicKCCnm/n35omY4GEyGRgAqgYUMTk5MzE2MzI2NDFAY2hhdHJvb21CRAiB4eS7DRCEmeecCBgBIAAoADDAq7WOBqIGEnd4aWRfcGh5eWVkdzl4YXAyMqoGDnpoYW5nY2h1YW4yMjg4iA8AkA8AQkQIhJnnnAgQhJnnnAgYCiAAKAEwwKu1jgaiBg56aGFuZ2NodWFuMjI4OKoGDnpoYW5nY2h1YW4yMjg4iA++oIDAAZAPAUoZCAEQABgAIAAoADAAOABABEioClAAWABgAFIAYAVoAKgGqM+FrtW5mMJMsAbBq7WOBg==]]></notifydata>\n<needpush>1</needpush>\n<pushtype>1</pushtype>\n</multivoip></sysmsg>",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1052001276,
        "msgType": 10002,
        "newMsgId": 9003096723688633450,
        "self": false,
        "timestamp": 1640846785,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80012",
    "wcId": "wxid_phyyedw9xap22"
}
引用消息
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title>hahahah</title>\n\t\t<des />\n\t\t<action />\n\t\t<type>57</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url />\n\t\t<lowurl />\n\t\t<dataurl />\n\t\t<lowdataurl />\n\t\t<appattach>\n\t\t\t<totallen>0</totallen>\n\t\t\t<attachid />\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext />\n\t\t\t<aeskey></aeskey>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername />\n\t\t<sourcedisplayname />\n\t\t<thumburl />\n\t\t<md5 />\n\t\t<statextstr />\n\t\t<refermsg>\n\t\t\t<type>43</type>\n\t\t\t<svrid>7152726252356205538</svrid>\n\t\t\t<fromusr>25543363222@chatroom</fromusr>\n\t\t\t<chatusr>wxid_1dfgh4fs8vz22</chatusr>\n\t\t\t<displayname>我们一起笑。</displayname>\n\t\t\t<content>wxid_phyyedw9xap22&lt;?xml version=\"1.0\"?&gt;\n&lt;msg&gt;\n\t&lt;videomsg aeskey=\"24a66e09206ea207a3ad3efc488d189e\" cdnvideourl=\"30819702010004818a308187020100020464e5eb6502032f55f90204b50060b4020461caf0c80462617570766964656f5f613236326564623731663630306535655f313634303638393836355f3231313232383139313035373435383163686174726f6f6d5f33626139323035622d643539612d346364662d386330352d6633353432313532366332320204012800040201000405004c54a100\" cdnthumbaeskey=\"24a66e09206ea207a3ad3efc488d189e\" cdnthumburl=\"30819702010004818a308187020100020464e5eb6502032f55f90204b50060b4020461caf0c80462617570766964656f5f613236326564623731663630306535655f313634303638393836355f3231313232383139313035373435383163686174726f6f6d5f33626139323035622d643539612d346364662d386330352d6633353432313532366332320204012800040201000405004c54a100\" length=\"405135\" playlength=\"3\" cdnthumblength=\"13217\" cdnthumbwidth=\"448\" cdnthumbheight=\"968\" fromusername=\"wxid_phyyedw9xap22\" md5=\"bb0d1f4dbf5e45c44e77dc640b41e7b9\" newmd5=\"35eb0cf332d3727002ca5a81a56c0ae2\" isplaceholder=\"0\" rawmd5=\"\" rawlength=\"0\" cdnrawvideourl=\"\" cdnrawvideoaeskey=\"\" overwritenewmsgid=\"0\" isad=\"0\" /&gt;\n&lt;/msg&gt;\n</content>\n\t\t\t<msgsource>&lt;msgsource&gt;\n\t&lt;sec_msg_node&gt;\n\t\t&lt;uuid&gt;40fabebebfe2f22dea607488cab7813a_&lt;/uuid&gt;\n\t&lt;/sec_msg_node&gt;\n\t&lt;silence&gt;0&lt;/silence&gt;\n\t&lt;membercount&gt;4&lt;/membercount&gt;\n\t&lt;signature&gt;v1_iLmUrvV9&lt;/signature&gt;\n&lt;/msgsource&gt;\n</msgsource>\n\t\t</refermsg>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>1</version>\n\t\t<appname />\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromGroup": "25543363222@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074831,
        "msgType": 49,
        "newMsgId": 8963629175116855659,
        "self": false,
        "timestamp": 1640855035,
        "title": "hahahah",
        "toUser": "wxid_phyyedw9xap22",
        "wId": "eec45340-78e5-462e-a364-d1d08a757932"
    },
    "messageType": "80014",
    "wcId": "wxid_phyyedw9xap22"
}
转账
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"\">\n\t\t<title><![CDATA[微信转账]]></title>\n\t\t<des><![CDATA[收到转账0.01元。如需收钱,请点此升级至最新版本]]></des>\n\t\t<action />\n\t\t<type>2000</type>\n\t\t<content><![CDATA[]]></content>\n\t\t<url><![CDATA[https://support.weixin.qq.com/cgi-bin/mmsupport-bin/readtemplate?t=page/common_page__upgrade&text=text001&btn_text=btn_text_0]]></url>\n\t\t<thumburl><![CDATA[https://support.weixin.qq.com/cgi-bin/mmsupport-bin/readtemplate?t=page/common_page__upgrade&text=text001&btn_text=btn_text_0]]></thumburl>\n\t\t<lowurl />\n\t\t<extinfo />\n\t\t<wcpayinfo>\n\t\t\t<paysubtype>1</paysubtype>\n\t\t\t<feedesc><![CDATA[¥0.01]]></feedesc>\n\t\t\t<transcationid><![CDATA[100005000121123000079141624247206176]]></transcationid>\n\t\t\t<transferid><![CDATA[1000050001202112301314816706265]]></transferid>\n\t\t\t<invalidtime><![CDATA[1640933271]]></invalidtime>\n\t\t\t<begintransfertime><![CDATA[1640846871]]></begintransfertime>\n\t\t\t<effectivedate><![CDATA[1]]></effectivedate>\n\t\t\t<pay_memo><![CDATA[]]></pay_memo>\n\t\t\t<receiver_username><![CDATA[wxid_phyyedw9xap22]]></receiver_username>\n\t\t\t<payer_username><![CDATA[wxid_1dfgh4fs8vz22]]></payer_username>\n\t\t</wcpayinfo>\n\t</appmsg>\n</msg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074723,
        "msgType": 49,
        "newMsgId": 8084491002548027914,
        "self": false,
        "timestamp": 1640846871,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80015",
    "wcId": "wxid_phyyedw9xap22"
}
红包
{
    "account": "17200000000",
    "data": {
        "content": "<msg>\n\t<appmsg appid=\"\" sdkver=\"\">\n\t\t<des><![CDATA[我给你发了一个红包,赶紧去拆!]]></des>\n\t\t<url><![CDATA[https://wxapp.tenpay.com/mmpayhb/wxhb_personalreceive?showwxpaytitle=1&msgtype=1&channelid=1&sendid=1000039801202112307153191036657&ver=6&sign=429fbf0010cc8d1e92abf37375ff9c12dafbf75933ff1d952cee3e186e51a3fd04f0d11cc5a3cd6ca75996cbfa9d6d16b7610a9245875bc12cacd487f874a0ecfe878f42ed076948b59d6821f2de496d]]></url>\n\t\t<type><![CDATA[2001]]></type>\n\t\t<title><![CDATA[微信红包]]></title>\n\t\t<thumburl><![CDATA[https://wx.gtimg.com/hongbao/1800/hb.png]]></thumburl>\n\t\t<wcpayinfo>\n\t\t\t<templateid><![CDATA[7a2a165d31da7fce6dd77e05c300028a]]></templateid>\n\t\t\t<url><![CDATA[https://wxapp.tenpay.com/mmpayhb/wxhb_personalreceive?showwxpaytitle=1&msgtype=1&channelid=1&sendid=1000039801202112307153191036657&ver=6&sign=429fbf0010cc8d1e92abf37375ff9c12dafbf75933ff1d952cee3e186e51a3fd04f0d11cc5a3cd6ca75996cbfa9d6d16b7610a9245875bc12cacd487f874a0ecfe878f42ed076948b59d6821f2de496d]]></url>\n\t\t\t<iconurl><![CDATA[https://wx.gtimg.com/hongbao/1800/hb.png]]></iconurl>\n\t\t\t<receivertitle><![CDATA[恭喜发财,大吉大利]]></receivertitle>\n\t\t\t<sendertitle><![CDATA[恭喜发财,大吉大利]]></sendertitle>\n\t\t\t<scenetext><![CDATA[微信红包]]></scenetext>\n\t\t\t<senderdes><![CDATA[查看红包]]></senderdes>\n\t\t\t<receiverdes><![CDATA[领取红包]]></receiverdes>\n\t\t\t<nativeurl><![CDATA[wxpay://c2cbizmessagehandler/hongbao/receivehongbao?msgtype=1&channelid=1&sendid=1000039801202112307153191036657&sendusername=wxid_1dfgh4fs8vz22&ver=6&sign=429fbf0010cc8d1e92abf37375ff9c12dafbf75933ff1d952cee3e186e51a3fd04f0d11cc5a3cd6ca75996cbfa9d6d16b7610a9245875bc12cacd487f874a0ecfe878f42ed076948b59d6821f2de496d]]></nativeurl>\n\t\t\t<sceneid><![CDATA[1002]]></sceneid>\n\t\t\t<innertype><![CDATA[0]]></innertype>\n\t\t\t<paymsgid><![CDATA[1000039801202112307153191036657]]></paymsgid>\n\t\t\t<scenetext>微信红包</scenetext>\n\t\t\t<locallogoicon><![CDATA[c2c_hongbao_icon_cn]]></locallogoicon>\n\t\t\t<invalidtime><![CDATA[1640933287]]></invalidtime>\n\t\t\t<broaden />\n\t\t</wcpayinfo>\n\t</appmsg>\n\t<fromusername><![CDATA[wxid_1dfgh4fs8vz22]]></fromusername>\n</msg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074724,
        "msgType": 49,
        "newMsgId": 2438922792209085362,
        "self": false,
        "timestamp": 1640846887,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80016",
    "wcId": "wxid_phyyedw9xap22"
}
视频号
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"\" sdkver=\"0\">\n\t\t<title>当前微信版本不支持展示该内容,请升级至最新版本。</title>\n\t\t<des />\n\t\t<action />\n\t\t<type>51</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url>https://support.weixin.qq.com/security/readtemplate?t=w_security_center_website/upgrade</url>\n\t\t<lowurl />\n\t\t<dataurl />\n\t\t<lowdataurl />\n\t\t<songalbumurl />\n\t\t<songlyric />\n\t\t<appattach>\n\t\t\t<totallen>0</totallen>\n\t\t\t<attachid />\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext />\n\t\t\t<cdnthumbaeskey />\n\t\t\t<aeskey></aeskey>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername />\n\t\t<sourcedisplayname />\n\t\t<thumburl />\n\t\t<md5 />\n\t\t<statextstr />\n\t\t<directshare>0</directshare>\n\t\t<recorditem><![CDATA[(null)]]></recorditem>\n\t\t<finderFeed>\n\t\t\t<objectId><![CDATA[13764276320166414336]]></objectId>\n\t\t\t<feedType><![CDATA[4]]></feedType>\n\t\t\t<nickname><![CDATA[人民网]]></nickname>\n\t\t\t<avatar><![CDATA[http://wx.qlogo.cn/finderhead/Q3auHgzwzM6cniaib56xcKdogMUUa6s5iaWmPVcHKlgqNVQCyibXcYagfA/0]]></avatar>\n\t\t\t<desc><![CDATA[这是2021我们的共同记忆!#我眼中的2021 #再见2021你好2022]]></desc>\n\t\t\t<mediaCount><![CDATA[1]]></mediaCount>\n\t\t\t<objectNonceId><![CDATA[13182594923376214692_4_20_13]]></objectNonceId>\n\t\t\t<liveId><![CDATA[0]]></liveId>\n\t\t\t<username><![CDATA[v2_060000231003b20faec8c5e78f1ec3d4cd04ea31b077a5e1052d59c7ad234d90f50f2d003953@finder]]></username>\n\t\t\t<authIconUrl><![CDATA[https://dldir1v6.qq.com/weixin/checkresupdate/icons_filled_channels_authentication_enterprise_a2658032368245639e666fb11533a600.png]]></authIconUrl>\n\t\t\t<authIconType>2</authIconType>\n\t\t\t<mediaList>\n\t\t\t\t<media>\n\t\t\t\t\t<thumbUrl><![CDATA[http://wxapp.tc.qq.com/251/20304/stodownload?filekey=30240201010410300e020200fb0402535a04000202724c040d00000004627466730000000132&storeid=261cc4a9000043485c260c3b0000000fb00004f50535a153618809623d50a2&adaptivelytrans=0&bizid=1023&dotrans=0&hy=SZ&m=&scene=0]]></thumbUrl>\n\t\t\t\t\t<fullCoverUrl><![CDATA[http://wxapp.tc.qq.com/251/20304/stodownload?encfilekey=S7s6ianIic0ia4PicKJSfB8EjyjpQibPUAXolJz23G5o5k1mqUBG9kHhb3MgGIP9ubOZ65FBOLVHNlbzt3DQTsxpDZiarFnzLktU1Mic4MGzG6rRIk2ibDn5N70IfQ&adaptivelytrans=0&bizid=1023&dotrans=0&hy=SZ&idx=1&m=&scene=0&token=x5Y29zUxcibBv0wC1vh8PiaEnRb4KWXgFw1uNjvznhnZGjJv2B8XMQxlgjWsSRPSUc]]></fullCoverUrl>\n\t\t\t\t\t<videoPlayDuration><![CDATA[192]]></videoPlayDuration>\n\t\t\t\t\t<url><![CDATA[http://wxapp.tc.qq.com/251/20302/stodownload?encfilekey=Cvvj5Ix3eez3Y79SxtvVL0L7CkPM6dFibusn4vVFEyiaouE37CbQao9rpmtxzeHBicapYBt2hXHQDicdqPA6UuIJgC53fBg3bRQduDDT1EGO3jqTfCiaaJSJ3ic6Z9ZPyG7A84HNpKvLozozjHuicP3CRicE4g&adaptivelytrans=0&bizid=1023&dotrans=2991&hy=SZ&idx=1&m=e1b9d209919d1a482ab91164ee3329b5&scene=0&t=1]]></url>\n\t\t\t\t\t<coverUrl><![CDATA[http://wxapp.tc.qq.com/251/20304/stodownload?filekey=30240201010410300e020200fb0402535a04000202724c040d00000004627466730000000132&storeid=261cc4a9000043485c260c3b0000000fb00004f50535a153618809623d50a2&adaptivelytrans=0&bizid=1023&dotrans=0&hy=SZ&m=&scene=0]]></coverUrl>\n\t\t\t\t\t<height><![CDATA[1080]]></height>\n\t\t\t\t\t<mediaType><![CDATA[4]]></mediaType>\n\t\t\t\t\t<fullClipInset><![CDATA[]]></fullClipInset>\n\t\t\t\t\t<width><![CDATA[1920]]></width>\n\t\t\t\t</media>\n\t\t\t</mediaList>\n\t\t\t<megaVideo>\n\t\t\t\t<objectId><![CDATA[13764276317455845443]]></objectId>\n\t\t\t\t<objectNonceId><![CDATA[17258379202908029021]]></objectNonceId>\n\t\t\t</megaVideo>\n\t\t\t<bizUsername><![CDATA[]]></bizUsername>\n\t\t\t<bizNickname><![CDATA[人民网]]></bizNickname>\n\t\t\t<bizAvatar><![CDATA[http://wx.qlogo.cn/mmhead/Q3auHgzwzM7fyU4GApMpvWanVpMHA15fEfZTKicF4YU6hLicwJkicSm3g/132]]></bizAvatar>\n\t\t\t<bizUsernameV2><![CDATA[gh_d62474859d61]]></bizUsernameV2>\n\t\t\t<bizAuthIconUrl><![CDATA[https://dldir1v6.qq.com/weixin/checkresupdate/icons_filled_channels_authentication_enterprise_a2658032368245639e666fb11533a600.png]]></bizAuthIconUrl>\n\t\t\t<bizAuthIconType>2</bizAuthIconType>\n\t\t</finderFeed>\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>1</version>\n\t\t<appname />\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074725,
        "msgType": 49,
        "newMsgId": 7031263641064262911,
        "self": false,
        "timestamp": 1640846967,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80017",
    "wcId": "wxid_phyyedw9xap22"
}
撤回消息
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"revokemsg\"><revokemsg><session>19931632641@chatroom</session><msgid>1132826553</msgid><newmsgid>7118603148180954583</newmsgid><replacemsg><![CDATA[\"朝夕\" 撤回了一条消息]]></replacemsg></revokemsg></sysmsg>",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074727,
        "msgType": 10002,
        "newMsgId": 3454889494740871052,
        "self": false,
        "timestamp": 1640847009,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80018",
    "wcId": "wxid_phyyedw9xap22"
}
拍一拍
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"pat\">\n<pat>\n  <fromusername>wxid_1dfgh4fs8vz22</fromusername>\n  <chatusername>19931632641@chatroom</chatusername>\n  <pattedusername>wxid_phyyedw9xap22</pattedusername>\n  <patsuffix><![CDATA[]]></patsuffix>\n  <patsuffixversion>0</patsuffixversion>\n\n\n\n\n  <template><![CDATA[\"${wxid_1dfgh4fs8vz22}\" 拍了拍我]]></template>\n\n\n\n\n</pat>\n</sysmsg>",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074728,
        "msgType": 10002,
        "newMsgId": 467532094977839311,
        "self": false,
        "timestamp": 1640847056,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80019",
    "wcId": "wxid_phyyedw9xap22"
}
地理位置
{
    "account": "17200000000",
    "data": {
        "content": "<msg>\n\t<location x=\"31.239580\" y=\"121.499763\" scale=\"15\" label=\"上海市浦东新区世纪大道1号\" maptype=\"roadmap\" poiname=\"东方明珠广播电视塔\" poiid=\"qqmap_15588308480676188216\" fromusername=\"wxid_1dfgh4fs8vz22\" />\n</msg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074730,
        "newMsgId": 5075767450681615759,
        "self": false,
        "timestamp": 1640847319,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80020",
    "wcId": "wxid_phyyedw9xap22"
}
音乐分享
{
    "account": "17200000000",
    "data": {
        "content": "<?xml version=\"1.0\"?>\n<msg>\n\t<appmsg appid=\"wx5aa333606550dfd5\" sdkver=\"0\">\n\t\t<title>红玫瑰</title>\n\t\t<des>陈奕迅</des>\n\t\t<action />\n\t\t<type>3</type>\n\t\t<showtype>0</showtype>\n\t\t<soundtype>0</soundtype>\n\t\t<mediatagname />\n\t\t<messageext />\n\t\t<messageaction />\n\t\t<content />\n\t\t<contentattr>0</contentattr>\n\t\t<url>https://i.y.qq.com/v8/playsong.html?hosteuin=oK6kowEAoK4z7eSFoK-F7K-sNv**&amp;sharefrom=gedan&amp;from_id=7956812187&amp;from_idtype=10014&amp;from_name=JUU1JThEJThFJUU4JUFGJUFEJUU3JUIyJUJFJUU5JTgwJTg5JUU0JUI4JUE4JUU5JTgyJUEzJUU0JUJBJTlCJUU4JUI2JTg1JUU1JUE1JUJEJUU1JTkwJUFDJUU3JTlBJTg0JUU2JUI1JTgxJUU4JUExJThDJUU3JTgzJUFEJUU2JUFEJThD&amp;songid=1313990&amp;songmid=&amp;type=0&amp;platform=(10rpl)&amp;appsongtype=(11rpl)&amp;_wv=1&amp;source=qq&amp;appshare=iphone&amp;media_mid=003LnSNo1ecdc3&amp;ADTAG=wxfshare</url>\n\t\t<lowurl />\n\t\t<dataurl>http://c6.y.qq.com/rsc/fcgi-bin/fcg_pyq_play.fcg?songid=0&amp;songmid=004EzHKM2jXY9i&amp;songtype=1&amp;fromtag=46&amp;uin=1152921504781285269&amp;code=48546</dataurl>\n\t\t<lowdataurl />\n\t\t<appattach>\n\t\t\t<totallen>0</totallen>\n\t\t\t<attachid />\n\t\t\t<emoticonmd5></emoticonmd5>\n\t\t\t<fileext />\n\t\t\t<cdnthumburl>3081800201000474307202010002048399cc8402032f55f90204540260b4020461cd4ffd044d777875706c6f61645f777869645f7068797965647739786170323232365f313634303834353330385f66643337653431662d356631652d343532372d616663332d6663306334663839666131360204011800030201000405004c54a100</cdnthumburl>\n\t\t\t<cdnthumbmd5>c2591028c8fc31e4d5000daa16006699</cdnthumbmd5>\n\t\t\t<cdnthumblength>5404</cdnthumblength>\n\t\t\t<cdnthumbwidth>150</cdnthumbwidth>\n\t\t\t<cdnthumbheight>150</cdnthumbheight>\n\t\t\t<cdnthumbaeskey>841c2cc9895436385e27fa3d7e4b6f8c</cdnthumbaeskey>\n\t\t\t<aeskey>841c2cc9895436385e27fa3d7e4b6f8c</aeskey>\n\t\t\t<encryver>0</encryver>\n\t\t</appattach>\n\t\t<extinfo />\n\t\t<sourceusername />\n\t\t<sourcedisplayname />\n\t\t<thumburl />\n\t\t<md5 />\n\t\t<statextstr />\n\t</appmsg>\n\t<fromusername>wxid_1dfgh4fs8vz22</fromusername>\n\t<scene>0</scene>\n\t<appinfo>\n\t\t<version>53</version>\n\t\t<appname>QQ音乐</appname>\n\t</appinfo>\n\t<commenturl />\n</msg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "wxid_1dfgh4fs8vz22",
        "msgId": 1685074731,
        "msgType": 49,
        "newMsgId": 4544116431919180708,
        "self": false,
        "timestamp": 1640847387,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80021",
    "wcId": "wxid_phyyedw9xap22"
}
群聊信息变更通知
{
    "account": "17200000000",
    "data": {
        "addContactScene": 0,
        "bitMask": 4294967295,
        "chatRoomNotify": 1,
        "chatRoomOwner": "wxid_1dfgh4fs8vz22",
        "chatRoomStatus": 16,
        "description": "\b\u0004\u0012\u0017\n\u000Ewxid_1dfgh4fs8vz220\u0001@\u0000�\u0001\u0000\u0012\u001C\n\u0013wxid_cy6buf12nf69210\u0001@\u0000�\u0001\u0000\u0012\u001C\n\u0013wxid_8pvka4jg6qzt220\u0001@\u0000�\u0001\u0000\u0012\u001B\n\u0012wxid_phyyedw9xap220\u0001@\u0000�\u0001\u0000\u0018\u0001\"\u0000(\u00008\u0000",
        "nickName": "12345",
        "smallHeadImgUrl": "http://wx.qlogo.cn/mmcrhead/uI5pczeERTZSEfr4PeAydNDThMxibJJ4BEXelSziazU7X7xtB0qJyvLd4I7Gw6vIL464rXd1ZqXwjx95hh8fMDuTIbdRV4smoB/0",
        "userName": "19931632641@chatroom",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85001",
    "wcId": "wxid_phyyedw9xap22"
}
被移出群聊
{
    "account": "17200000000",
    "data": {
        "content": "你被\"朝夕\"移出群聊",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074732,
        "msgType": 10000,
        "newMsgId": 1242434796465261255,
        "self": false,
        "timestamp": 1640847540,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85002",
    "wcId": "wxid_phyyedw9xap22"
}
你把xxx踢出群聊
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"sysmsgtemplate\">\n\t<sysmsgtemplate>\n\t\t<content_template type=\"tmpl_type_profile\">\n\t\t\t<plain><![CDATA[]]></plain>\n\t\t\t<template><![CDATA[你将\"$kickoutname$\"移出了群聊]]></template>\n\t\t\t<link_list>\n\t\t\t\t<link name=\"kickoutname\" type=\"link_profile\">\n\t\t\t\t\t<memberlist>\n\t\t\t\t\t\t<member>\n\t\t\t\t\t\t\t<username><![CDATA[wxid_8pvka4jg6qzt22]]></username>\n\t\t\t\t\t\t\t<nickname><![CDATA[白开水加糖]]></nickname>\n\t\t\t\t\t\t</member>\n\t\t\t\t\t</memberlist>\n\t\t\t\t</link>\n\t\t\t</link_list>\n\t\t</content_template>\n\t</sysmsgtemplate>\n</sysmsg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074776,
        "msgType": 10002,
        "newMsgId": 8356779907269802113,
        "self": false,
        "timestamp": 1640848768,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85003",
    "wcId": "wxid_phyyedw9xap22"
}
解散群聊
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"sysmsgtemplate\">\n    <sysmsgtemplate>\n    <content_template type=\"new_tmpl_type_succeed_contact\">\n        <plain><![CDATA[]]></plain>\n        <template><![CDATA[群主\"$identity$\"已解散该群聊]]></template>\n        <link_list>\n        <link name=\"identity\" type=\"link_profile\">\n                <memberlist>\n                <member>\n                    <username><![CDATA[wxid_1dfgh4fs8vz22]]></username>\n                    <nickname><![CDATA[朝夕]]></nickname>\n                </member>\n                </memberlist>\n        </link>\n        </link_list>\n    </content_template>\n    </sysmsgtemplate>\n</sysmsg>",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1052001283,
        "msgType": 10002,
        "newMsgId": 1822163831136487338,
        "self": false,
        "timestamp": 1640849291,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85004",
    "wcId": "wxid_phyyedw9xap22"
}
修改群名称
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"sysmsgtemplate\">\n\t<sysmsgtemplate>\n\t\t<content_template type=\"tmpl_type_profile\">\n\t\t\t<plain><![CDATA[]]></plain>\n\t\t\t<template><![CDATA[\"$username$\"修改群名为“$remark$”]]></template>\n\t\t\t<link_list>\n\t\t\t\t<link name=\"username\" type=\"link_profile\">\n\t\t\t\t\t<memberlist>\n\t\t\t\t\t\t<member>\n\t\t\t\t\t\t\t<username><![CDATA[wxid_1dfgh4fs8vz22]]></username>\n\t\t\t\t\t\t\t<nickname><![CDATA[朝夕]]></nickname>\n\t\t\t\t\t\t</member>\n\t\t\t\t\t</memberlist>\n\t\t\t\t</link>\n\t\t\t\t<link name=\"remark\" type=\"link_profile\">\n\t\t\t\t\t<memberlist>\n\t\t\t\t\t\t<member>\n\t\t\t\t\t\t\t<username><![CDATA[]]></username>\n\t\t\t\t\t\t\t<nickname><![CDATA[12345哈]]></nickname>\n\t\t\t\t\t\t</member>\n\t\t\t\t\t</memberlist>\n\t\t\t\t</link>\n\t\t\t</link_list>\n\t\t</content_template>\n\t</sysmsgtemplate>\n</sysmsg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074779,
        "msgType": 10002,
        "newMsgId": 1821784160202516122,
        "self": false,
        "timestamp": 1640848808,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85005",
    "wcId": "wxid_phyyedw9xap22"
}
xxx被添加为管理员
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"sysmsgtemplate\">\n\t<sysmsgtemplate>\n\t\t<content_template type=\"tmpl_type_admin_explain\">\n\t\t\t<plain><![CDATA[]]></plain>\n\t\t\t<template><![CDATA[你已经被群主\"$ownername$\"设置为群管理员 $adminexplain$]]></template>\n\t\t\t<link_list>\n\t\t\t\t<link name=\"ownername\" type=\"link_profile\">\n\t\t\t\t\t<memberlist>\n\t\t\t\t\t\t<member>\n\t\t\t\t\t\t\t<username><![CDATA[wxid_1dfgh4fs8vz22]]></username>\n\t\t\t\t\t\t\t<nickname><![CDATA[朝夕]]></nickname>\n\t\t\t\t\t\t</member>\n\t\t\t\t\t</memberlist>\n\t\t\t\t</link>\n\t\t\t\t<link name=\"adminexplain\" type=\"link_admin_explain\">\n\t\t\t\t\t<title><![CDATA[查看详情]]></title>\n\t\t\t\t</link>\n\t\t\t</link_list>\n\t\t</content_template>\n\t</sysmsgtemplate>\n</sysmsg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074750,
        "msgType": 10002,
        "newMsgId": 793206641887660472,
        "self": false,
        "timestamp": 1640847922,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85006",
    "wcId": "wxid_phyyedw9xap22"
}
xxx从群管理员中被移除
{
    "account": "17200000000",
    "data": {
        "content": "你已被群主\"朝夕\"从群管理员中移除",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074753,
        "msgType": 10000,
        "newMsgId": 9003176767479522334,
        "self": false,
        "timestamp": 1640847979,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85007",
    "wcId": "wxid_phyyedw9xap22"
}
xxx邀请xxx加入群聊
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"sysmsgtemplate\">\n\t<sysmsgtemplate>\n\t\t<content_template type=\"tmpl_type_profile\">\n\t\t\t<plain><![CDATA[]]></plain>\n\t\t\t<template><![CDATA[\"$username$\"邀请你加入了群聊,群聊参与人还有:$others$]]></template>\n\t\t\t<link_list>\n\t\t\t\t<link name=\"username\" type=\"link_profile\">\n\t\t\t\t\t<memberlist>\n\t\t\t\t\t\t<member>\n\t\t\t\t\t\t\t<username><![CDATA[wxid_1dfgh4fs8vz22]]></username>\n\t\t\t\t\t\t\t<nickname><![CDATA[朝夕]]></nickname>\n\t\t\t\t\t\t</member>\n\t\t\t\t\t</memberlist>\n\t\t\t\t</link>\n\t\t\t\t<link name=\"others\" type=\"link_profile\">\n\t\t\t\t\t<memberlist>\n\t\t\t\t\t\t<member>\n\t\t\t\t\t\t\t<username><![CDATA[]]></username>\n\t\t\t\t\t\t\t<nickname><![CDATA[白开水加糖、暖心]]></nickname>\n\t\t\t\t\t\t</member>\n\t\t\t\t\t</memberlist>\n\t\t\t\t</link>\n\t\t\t</link_list>\n\t\t</content_template>\n\t</sysmsgtemplate>\n</sysmsg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074700,
        "msgType": 10002,
        "newMsgId": 8642769603790473506,
        "self": false,
        "timestamp": 1640845706,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85008",
    "wcId": "wxid_phyyedw9xap22"
}
xxx通过扫描xxx的二维码加入群聊
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"sysmsgtemplate\">\n\t<sysmsgtemplate>\n\t\t<content_template type=\"tmpl_type_profile\">\n\t\t\t<plain><![CDATA[]]></plain>\n\t\t\t<template><![CDATA[\" $adder$\"通过扫描\"$from$\"分享的二维码加入群聊]]></template>\n\t\t\t<link_list>\n\t\t\t\t<link name=\"adder\" type=\"link_profile\">\n\t\t\t\t\t<memberlist>\n\t\t\t\t\t\t<member>\n\t\t\t\t\t\t\t<username><![CDATA[wxid_yv3b9kfyiuf312]]></username>\n\t\t\t\t\t\t\t<nickname><![CDATA[赵笑笑]]></nickname>\n\t\t\t\t\t\t</member>\n\t\t\t\t\t</memberlist>\n\t\t\t\t</link>\n\t\t\t\t<link name=\"from\" type=\"link_profile\">\n\t\t\t\t\t<memberlist>\n\t\t\t\t\t\t<member>\n\t\t\t\t\t\t\t<username><![CDATA[wxid_1dfgh4fs8vz22]]></username>\n\t\t\t\t\t\t\t<nickname><![CDATA[朝夕]]></nickname>\n\t\t\t\t\t\t</member>\n\t\t\t\t\t</memberlist>\n\t\t\t\t</link>\n\t\t\t</link_list>\n\t\t</content_template>\n\t</sysmsgtemplate>\n</sysmsg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074798,
        "msgType": 10002,
        "newMsgId": 3931945361366363716,
        "self": false,
        "timestamp": 1640849230,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85009",
    "wcId": "wxid_phyyedw9xap22"
}
更换群主
  • messageType=85010 & msgType=10000 表示自己成为群主
  • messageType=85010 & msgType=10002 表示别人成为群主
{
    "account": "17200000000",
    "data": {
        "content": "你已成为新群主",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074759,
        "msgType": 10000,
        "newMsgId": 7394286379345384306,
        "self": false,
        "timestamp": 1640848069,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85010",
    "wcId": "wxid_phyyedw9xap22"
}

{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"sysmsgtemplate\">\n\t<sysmsgtemplate>\n\t\t<content_template type=\"tmpl_type_profile\">\n\t\t\t<plain><![CDATA[]]></plain>\n\t\t\t<template><![CDATA[\"$ownername$\"已成为新群主]]></template>\n\t\t\t<link_list>\n\t\t\t\t<link name=\"ownername\" type=\"link_profile\">\n\t\t\t\t\t<memberlist>\n\t\t\t\t\t\t<member>\n\t\t\t\t\t\t\t<username><![CDATA[wxid_1dfgh4fs8vz22]]></username>\n\t\t\t\t\t\t\t<nickname><![CDATA[朝夕]]></nickname>\n\t\t\t\t\t\t</member>\n\t\t\t\t\t</memberlist>\n\t\t\t\t</link>\n\t\t\t</link_list>\n\t\t</content_template>\n\t</sysmsgtemplate>\n</sysmsg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074763,
        "msgType": 10002,
        "newMsgId": 3326200322752853279,
        "self": false,
        "timestamp": 1640848137,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85010",
    "wcId": "wxid_phyyedw9xap22"
}
群公告
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"mmchatroombarannouncememt\">\n    <mmchatroombarannouncememt>\n        <content><![CDATA[哈哈哈哈1]]></content>\n        <xmlcontent><![CDATA[]]></xmlcontent>\n    </mmchatroombarannouncememt>\n</sysmsg>",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074702,
        "msgType": 10002,
        "newMsgId": 2421100263745967954,
        "self": false,
        "timestamp": 1640845707,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85011",
    "wcId": "wxid_phyyedw9xap22"
}
群待办
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"roomtoolstips\">\n<todo>\n  <op>0</op>\n\n  <todoid><![CDATA[related_msgid_7449161638077902149]]></todoid>\n  <username><![CDATA[roomannouncement@app.origin]]></username>\n  <path><![CDATA[]]></path>\n  <time>1640848259</time>\n  <custominfo><![CDATA[]]></custominfo>\n  <title><![CDATA[群公告]]></title>\n  <creator><![CDATA[wxid_1dfgh4fs8vz22]]></creator>\n  <related_msgid><![CDATA[7449161638077902149]]></related_msgid>\n  <manager><![CDATA[wxid_1dfgh4fs8vz22]]></manager>\n  <nreply>0</nreply>\n  <scene><![CDATA[altertodo_set]]></scene>\n  <oper><![CDATA[wxid_1dfgh4fs8vz22]]></oper>\n  <sharekey><![CDATA[]]></sharekey>\n  <sharename><![CDATA[]]></sharename>\n\n\n  \n\n\n  \n  \n  \n  \n  \n\n  \n\n  \n\n</todo>\n</sysmsg>",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074768,
        "msgType": 10002,
        "newMsgId": 6904863864696960098,
        "self": false,
        "timestamp": 1640848259,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85012",
    "wcId": "wxid_phyyedw9xap22"
}
开启群聊邀请确认
{
    "account": "17200000000",
    "data": {
        "content": "\"朝夕\"已启用“群聊邀请确认”,群成员需群主或群管理员确认才能邀请朋友进群。",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074772,
        "msgType": 10000,
        "newMsgId": 1023175061124953611,
        "self": false,
        "timestamp": 1640848395,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85013",
    "wcId": "wxid_phyyedw9xap22"
}
开启'群聊邀请确认'后的邀请验证通知
{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"NewXmlChatRoomAccessVerifyApplication\">\n\t<NewXmlChatRoomAccessVerifyApplication>\n\t\t<text><![CDATA[\"朝夕\"想邀请1位朋友加入群聊]]></text>\n\t\t<link>\n\t\t\t<scene>roomaccessapplycheck_approve</scene>\n\t\t\t<text><![CDATA[  去确认]]></text>\n\t\t\t<ticket><![CDATA[AQAAAAEAAAATdPLhQCZxH5Ic2sN5t9cHfIVQQaiZ7nOUznfFTucCnys2oaK7Q9di4NjAWHSk8lV+MYNXvT3Awh6Jiu8cfOAahBE22Q==]]></ticket>\n\t\t\t<invitationreason><![CDATA[邀请成员]]></invitationreason>\n\t\t\t<inviterusername><![CDATA[wxid_1dfgh4fs8vz22]]></inviterusername>\n\t\t\t<memberlist>\n\t\t\t\t<memberlistsize>1</memberlistsize>\n\t\t\t\t<member>\n\t\t\t\t\t<username><![CDATA[wxid_mg3uk8hai6vt11]]></username>\n\t\t\t\t\t<nickname><![CDATA[C。]]></nickname>\n\t\t\t\t\t<headimgurl><![CDATA[http://wx.qlogo.cn/mmhead/ver_1/x6mPYOnVbW3uibfPp4vtfIqM1JOodOO7nxuwibhc8KkEaiaVa67ggcLjfjd6gyH7z6B5xwXbYkRQ1a1PJ50Hz4JEg/132]]></headimgurl>\n\t\t\t\t</member>\n\t\t\t</memberlist>\n\t\t</link>\n\t\t<RoomName><![CDATA[19931632641@chatroom]]></RoomName>\n\t</NewXmlChatRoomAccessVerifyApplication>\n</sysmsg>\n",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1052001279,
        "msgType": 10002,
        "newMsgId": 1984986994089824498,
        "self": false,
        "timestamp": 1640848504,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85014",
    "wcId": "wxid_phyyedw9xap22"
}
退出群聊
{
    "account": "17200000000",
    "data": {
        "userName": "19931632641@chatroom",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "85015",
    "wcId": "wxid_phyyedw9xap22"
}
群聊其他消息

其他未识别群聊消息均返回80999

{
    "account": "17200000000",
    "data": {
        "content": "<sysmsg type=\"NewXmlShowChatRoomAnnouncement\"><NewXmlShowChatRoomAnnouncement></NewXmlShowChatRoomAnnouncement></sysmsg>",
        "fromGroup": "19931632641@chatroom",
        "fromUser": "19931632641@chatroom",
        "msgId": 1685074701,
        "msgType": 10002,
        "newMsgId": 1728559129267014672,
        "self": false,
        "timestamp": 1640845706,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "80999",
    "wcId": "wxid_phyyedw9xap22"
}

公众号消息

公众号文章
{
    "account": "17200000000",
    "data": {
        "content": "<msg>\n    <appmsg appid=\"\" sdkver=\"0\">\n        <title><![CDATA[宣判临时取消,江歌母亲透露原因]]></title>\n        <des><![CDATA[]]></des>\n        <action></action>\n        <type>5</type>\n        <showtype>1</showtype>\n        <content><![CDATA[]]></content>\n        <contentattr>0</contentattr>\n        <url><![CDATA[http://mp.weixin.qq.com/s?__biz=MjM5MzI5NTU3MQ==&mid=2651948167&idx=1&sn=13d5ecaeb005438550aa7c2246b42ea8&chksm=bd7c193b8a0b902d6a454f2cc557e54dfdde1724025b1ffe0b3c4b803aa005d9687d3e284edf&scene=0&xtrack=1#rd]]></url>\n        <lowurl><![CDATA[]]></lowurl>\n        <appattach>\n            <totallen>0</totallen>\n            <attachid></attachid>\n            <fileext></fileext>\n        </appattach>\n        <extinfo></extinfo>\n        <mmreader>\n            <category type=\"20\" count=\"6\">\n                <name><![CDATA[澎湃新闻]]></name>\n                <topnew>\n                    <cover><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm65ghSuECwUwqsVPAlK5eh3zetjPBWTmfk5vJp1LMphLhPHTxENbG5WA/640?wxtype=jpeg&wxfrom=0]]></cover>\n                    <width>0</width>\n                    <height>0</height>\n                    <digest><![CDATA[]]></digest>\n                </topnew>\n                \n                <item>\n                    <itemshowtype>0</itemshowtype>\n                    <title><![CDATA[宣判临时取消,江歌母亲透露原因]]></title>\n                    <url><![CDATA[http://mp.weixin.qq.com/s?__biz=MjM5MzI5NTU3MQ==&mid=2651948167&idx=1&sn=13d5ecaeb005438550aa7c2246b42ea8&chksm=bd7c193b8a0b902d6a454f2cc557e54dfdde1724025b1ffe0b3c4b803aa005d9687d3e284edf#rd]]></url>\n                    <shorturl><![CDATA[]]></shorturl>\n                    <longurl><![CDATA[]]></longurl>\n                    <pub_time>1640916686</pub_time>\n                    <cover><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm65ghSuECwUwqsVPAlK5eh3zetjPBWTmfk5vJp1LMphLhPHTxENbG5WA/640?wxtype=jpeg&wxfrom=0]]></cover>\n                    <tweetid></tweetid>\n                    <digest><![CDATA[]]></digest>\n                    <fileid>504464477</fileid>\n                    <sources>\n                        <source>\n                            <name><![CDATA[澎湃新闻]]></name>\n                        </source>\n                    </sources>\n                    <styles></styles>\n                    <native_url></native_url>\n                    <del_flag>0</del_flag>\n                    <contentattr>0</contentattr>\n                    <play_length>0</play_length>\n                    <play_url><![CDATA[]]></play_url>\n                    <player><![CDATA[]]></player>\n                     \n                    \n                    <music_source>0</music_source>\n                    <pic_num>0</pic_num>\n                    <vid></vid>\n                    <author><![CDATA[]]></author>\n                    <recommendation><![CDATA[]]></recommendation>\n                    <pic_urls></pic_urls>\n                    <comment_topic_id>2203258042001997828</comment_topic_id>\n                    <cover_235_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm65ghSuECwUwqsVPAlK5eh3zetjPBWTmfk5vJp1LMphLhPHTxENbG5WA/640?wxtype=jpeg&wxfrom=0]]></cover_235_1>\n                    <cover_1_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6SSAfMQSnSYwwKfBbVmwvnazKBMwk93OHwTFogJZcbjia9UmSV9qfdwQ/300?wxtype=jpeg&wxfrom=0]]></cover_1_1>\n                    <cover_16_9><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm65ghSuECwUwqsVPAlK5eh3zetjPBWTmfk5vJp1LMphLhPHTxENbG5WA/640?wxtype=jpeg&wxfrom=0]]></cover_16_9>\n                    <appmsg_like_type>2</appmsg_like_type>\n                    <video_width>0</video_width>\n                    <video_height>0</video_height>\n                    <is_pay_subscribe>0</is_pay_subscribe>\n\t\t\t<finder_feed>\n\t\t\t    <object_id><![CDATA[]]></object_id>\n\t\t\t    <object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    <feed_type>0</feed_type>\n\t\t\t    <nickname><![CDATA[]]></nickname>\n\t\t\t    <avatar><![CDATA[]]></avatar>\n\t\t\t    <desc><![CDATA[]]></desc>\n\t\t\t    <media_count>0</media_count>\n\t\t\t    <media_list>\n\t\t\t\t\n\t\t\t    </media_list>\n\t\t\t    <mega_video>\n\t\t\t\t<object_id><![CDATA[]]></object_id>\n\t\t\t\t<object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    </mega_video>\n\t\t\t</finder_feed>\n                </item>\n                \n                <item>\n                    <itemshowtype>0</itemshowtype>\n                    <title><![CDATA[【新年献词】到真实的世界中去]]></title>\n                    <url><![CDATA[http://mp.weixin.qq.com/s?__biz=MjM5MzI5NTU3MQ==&mid=2651948167&idx=2&sn=8ffa5bad205d4de8fdbc0f20e10e37fd&chksm=bd7c193b8a0b902da34816fdc43457ffa9827079602465fb6b1279b8a77dd162f3d507a4e699#rd]]></url>\n                    <shorturl><![CDATA[]]></shorturl>\n                    <longurl><![CDATA[]]></longurl>\n                    <pub_time>1640916686</pub_time>\n                    <cover><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6Z5EINq6QBDwOMjfHMpHViakibgGNqiapPf502NgPDIGKwqED7wnvUiceng/300?wxtype=jpeg&wxfrom=0]]></cover>\n                    <tweetid></tweetid>\n                    <digest><![CDATA[]]></digest>\n                    <fileid>0</fileid>\n                    <sources>\n                        <source>\n                            <name><![CDATA[澎湃新闻]]></name>\n                        </source>\n                    </sources>\n                    <styles></styles>\n                    <native_url></native_url>\n                    <del_flag>0</del_flag>\n                    <contentattr>1</contentattr>\n                    <play_length>0</play_length>\n                    <play_url><![CDATA[]]></play_url>\n                    <player><![CDATA[]]></player>\n                     \n                    \n                    <music_source>0</music_source>\n                    <pic_num>0</pic_num>\n                    <vid></vid>\n                    <author><![CDATA[]]></author>\n                    <recommendation><![CDATA[]]></recommendation>\n                    <pic_urls></pic_urls>\n                    <comment_topic_id>2203258042639532036</comment_topic_id>\n                    <cover_235_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6Rdpg1j0bpaUsFb9ZL4dvqXU1ffk38kiabkG9r6syXLIkT48MRLia1PQg/300?wxtype=jpeg&wxfrom=0]]></cover_235_1>\n                    <cover_1_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6Z5EINq6QBDwOMjfHMpHViakibgGNqiapPf502NgPDIGKwqED7wnvUiceng/300?wxtype=jpeg&wxfrom=0]]></cover_1_1>\n                    <cover_16_9><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6Z5EINq6QBDwOMjfHMpHViakibgGNqiapPf502NgPDIGKwqED7wnvUiceng/300?wxtype=jpeg&wxfrom=0]]></cover_16_9>\n                    <appmsg_like_type>2</appmsg_like_type>\n                    <video_width>0</video_width>\n                    <video_height>0</video_height>\n                    <is_pay_subscribe>0</is_pay_subscribe>\n\t\t\t<finder_feed>\n\t\t\t    <object_id><![CDATA[]]></object_id>\n\t\t\t    <object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    <feed_type>0</feed_type>\n\t\t\t    <nickname><![CDATA[]]></nickname>\n\t\t\t    <avatar><![CDATA[]]></avatar>\n\t\t\t    <desc><![CDATA[]]></desc>\n\t\t\t    <media_count>0</media_count>\n\t\t\t    <media_list>\n\t\t\t\t\n\t\t\t    </media_list>\n\t\t\t    <mega_video>\n\t\t\t\t<object_id><![CDATA[]]></object_id>\n\t\t\t\t<object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    </mega_video>\n\t\t\t</finder_feed>\n                </item>\n                \n                <item>\n                    <itemshowtype>0</itemshowtype>\n                    <title><![CDATA[明查|欧美出现“德尔密克戎”新变异毒株?]]></title>\n                    <url><![CDATA[http://mp.weixin.qq.com/s?__biz=MjM5MzI5NTU3MQ==&mid=2651948167&idx=3&sn=f272daffa1b16d19cf46bd0e1663948e&chksm=bd7c193b8a0b902db605330983550fd1882a41cf9fbe1af560cf4e326f786ecb7018f631cdd3#rd]]></url>\n                    <shorturl><![CDATA[]]></shorturl>\n                    <longurl><![CDATA[]]></longurl>\n                    <pub_time>1640916686</pub_time>\n                    <cover><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6lKqmEKpPg0Yu1cpDxCDP7kmaibVggmV4MglllmIzLveIZs7JpqaH8CA/300?wxtype=jpeg&wxfrom=0]]></cover>\n                    <tweetid></tweetid>\n                    <digest><![CDATA[]]></digest>\n                    <fileid>504464418</fileid>\n                    <sources>\n                        <source>\n                            <name><![CDATA[澎湃新闻]]></name>\n                        </source>\n                    </sources>\n                    <styles></styles>\n                    <native_url></native_url>\n                    <del_flag>0</del_flag>\n                    <contentattr>0</contentattr>\n                    <play_length>0</play_length>\n                    <play_url><![CDATA[]]></play_url>\n                    <player><![CDATA[]]></player>\n                     \n                    \n                    <music_source>0</music_source>\n                    <pic_num>0</pic_num>\n                    <vid></vid>\n                    <author><![CDATA[]]></author>\n                    <recommendation><![CDATA[]]></recommendation>\n                    <pic_urls></pic_urls>\n                    <comment_topic_id>2203258043159625737</comment_topic_id>\n                    <cover_235_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6lVIsicl0w1VOfZP1yxjfm5CLoZVuE9XaSYibicOxrBUXY0hmQGU7L8ibmA/300?wxtype=jpeg&wxfrom=0]]></cover_235_1>\n                    <cover_1_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6lKqmEKpPg0Yu1cpDxCDP7kmaibVggmV4MglllmIzLveIZs7JpqaH8CA/300?wxtype=jpeg&wxfrom=0]]></cover_1_1>\n                    <cover_16_9><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6lKqmEKpPg0Yu1cpDxCDP7kmaibVggmV4MglllmIzLveIZs7JpqaH8CA/300?wxtype=jpeg&wxfrom=0]]></cover_16_9>\n                    <appmsg_like_type>2</appmsg_like_type>\n                    <video_width>0</video_width>\n                    <video_height>0</video_height>\n                    <is_pay_subscribe>0</is_pay_subscribe>\n\t\t\t<finder_feed>\n\t\t\t    <object_id><![CDATA[]]></object_id>\n\t\t\t    <object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    <feed_type>0</feed_type>\n\t\t\t    <nickname><![CDATA[]]></nickname>\n\t\t\t    <avatar><![CDATA[]]></avatar>\n\t\t\t    <desc><![CDATA[]]></desc>\n\t\t\t    <media_count>0</media_count>\n\t\t\t    <media_list>\n\t\t\t\t\n\t\t\t    </media_list>\n\t\t\t    <mega_video>\n\t\t\t\t<object_id><![CDATA[]]></object_id>\n\t\t\t\t<object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    </mega_video>\n\t\t\t</finder_feed>\n                </item>\n                \n                <item>\n                    <itemshowtype>0</itemshowtype>\n                    <title><![CDATA[新增本土确诊166例,其中陕西165例]]></title>\n                    <url><![CDATA[http://mp.weixin.qq.com/s?__biz=MjM5MzI5NTU3MQ==&mid=2651948167&idx=4&sn=8ea4cb774bccd84ad839100e73fe15e1&chksm=bd7c193b8a0b902df8361e79d48a0645b23b345775c64e1a0c94386972bda5e6a8d080d250b2#rd]]></url>\n                    <shorturl><![CDATA[]]></shorturl>\n                    <longurl><![CDATA[]]></longurl>\n                    <pub_time>1640916686</pub_time>\n                    <cover><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6ggb8BDWeZ2443a7YgaxqTeCcNuZU2TFkz35MOFHm2IS8ZRLVU8tic0w/300?wxtype=jpeg&wxfrom=0]]></cover>\n                    <tweetid></tweetid>\n                    <digest><![CDATA[]]></digest>\n                    <fileid>504435305</fileid>\n                    <sources>\n                        <source>\n                            <name><![CDATA[澎湃新闻]]></name>\n                        </source>\n                    </sources>\n                    <styles></styles>\n                    <native_url></native_url>\n                    <del_flag>0</del_flag>\n                    <contentattr>0</contentattr>\n                    <play_length>0</play_length>\n                    <play_url><![CDATA[]]></play_url>\n                    <player><![CDATA[]]></player>\n                     \n                    \n                    <music_source>0</music_source>\n                    <pic_num>0</pic_num>\n                    <vid></vid>\n                    <author><![CDATA[]]></author>\n                    <recommendation><![CDATA[]]></recommendation>\n                    <pic_urls></pic_urls>\n                    <comment_topic_id>2203258043629387781</comment_topic_id>\n                    <cover_235_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6cTrT19wWccy5S228qwcvWKgJDMuibwR4L6EzXUW2QDycnRRaN5luj6g/300?wxtype=jpeg&wxfrom=0]]></cover_235_1>\n                    <cover_1_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6ggb8BDWeZ2443a7YgaxqTeCcNuZU2TFkz35MOFHm2IS8ZRLVU8tic0w/300?wxtype=jpeg&wxfrom=0]]></cover_1_1>\n                    <cover_16_9><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6ggb8BDWeZ2443a7YgaxqTeCcNuZU2TFkz35MOFHm2IS8ZRLVU8tic0w/300?wxtype=jpeg&wxfrom=0]]></cover_16_9>\n                    <appmsg_like_type>2</appmsg_like_type>\n                    <video_width>0</video_width>\n                    <video_height>0</video_height>\n                    <is_pay_subscribe>0</is_pay_subscribe>\n\t\t\t<finder_feed>\n\t\t\t    <object_id><![CDATA[]]></object_id>\n\t\t\t    <object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    <feed_type>0</feed_type>\n\t\t\t    <nickname><![CDATA[]]></nickname>\n\t\t\t    <avatar><![CDATA[]]></avatar>\n\t\t\t    <desc><![CDATA[]]></desc>\n\t\t\t    <media_count>0</media_count>\n\t\t\t    <media_list>\n\t\t\t\t\n\t\t\t    </media_list>\n\t\t\t    <mega_video>\n\t\t\t\t<object_id><![CDATA[]]></object_id>\n\t\t\t\t<object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    </mega_video>\n\t\t\t</finder_feed>\n                </item>\n                \n                <item>\n                    <itemshowtype>0</itemshowtype>\n                    <title><![CDATA[王皓,“最了解樊振东的人”]]></title>\n                    <url><![CDATA[http://mp.weixin.qq.com/s?__biz=MjM5MzI5NTU3MQ==&mid=2651948167&idx=5&sn=fc37de37b4436f61c218db235cb05f09&chksm=bd7c193b8a0b902d0e7a751587c3339a72e4f2c08d6a6fc56baeb7bc41bb45af7871ff8217c9#rd]]></url>\n                    <shorturl><![CDATA[]]></shorturl>\n                    <longurl><![CDATA[]]></longurl>\n                    <pub_time>1640916686</pub_time>\n                    <cover><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6lPfwGicWXHDBUibiaX36G5EtdteQu6CJ6uNGUp02yiaUWq97kPUZODdUPg/300?wxtype=jpeg&wxfrom=0]]></cover>\n                    <tweetid></tweetid>\n                    <digest><![CDATA[从世界冠军转型成世界冠军教练的日与夜]]></digest>\n                    <fileid>0</fileid>\n                    <sources>\n                        <source>\n                            <name><![CDATA[澎湃新闻]]></name>\n                        </source>\n                    </sources>\n                    <styles></styles>\n                    <native_url></native_url>\n                    <del_flag>0</del_flag>\n                    <contentattr>1</contentattr>\n                    <play_length>0</play_length>\n                    <play_url><![CDATA[]]></play_url>\n                    <player><![CDATA[]]></player>\n                     \n                    \n                    <music_source>0</music_source>\n                    <pic_num>0</pic_num>\n                    <vid></vid>\n                    <author><![CDATA[]]></author>\n                    <recommendation><![CDATA[]]></recommendation>\n                    <pic_urls></pic_urls>\n                    <comment_topic_id>2203258043981709319</comment_topic_id>\n                    <cover_235_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6xx1icDogDh1wAXagwj2zyVpX32ibJbygVdYGpzARqEcF1KHZR8QhgTMw/300?wxtype=jpeg&wxfrom=0]]></cover_235_1>\n                    <cover_1_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6lPfwGicWXHDBUibiaX36G5EtdteQu6CJ6uNGUp02yiaUWq97kPUZODdUPg/300?wxtype=jpeg&wxfrom=0]]></cover_1_1>\n                    <cover_16_9><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6lPfwGicWXHDBUibiaX36G5EtdteQu6CJ6uNGUp02yiaUWq97kPUZODdUPg/300?wxtype=jpeg&wxfrom=0]]></cover_16_9>\n                    <appmsg_like_type>2</appmsg_like_type>\n                    <video_width>0</video_width>\n                    <video_height>0</video_height>\n                    <is_pay_subscribe>0</is_pay_subscribe>\n\t\t\t<finder_feed>\n\t\t\t    <object_id><![CDATA[]]></object_id>\n\t\t\t    <object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    <feed_type>0</feed_type>\n\t\t\t    <nickname><![CDATA[]]></nickname>\n\t\t\t    <avatar><![CDATA[]]></avatar>\n\t\t\t    <desc><![CDATA[]]></desc>\n\t\t\t    <media_count>0</media_count>\n\t\t\t    <media_list>\n\t\t\t\t\n\t\t\t    </media_list>\n\t\t\t    <mega_video>\n\t\t\t\t<object_id><![CDATA[]]></object_id>\n\t\t\t\t<object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    </mega_video>\n\t\t\t</finder_feed>\n                </item>\n                \n                <item>\n                    <itemshowtype>0</itemshowtype>\n                    <title><![CDATA[孙子把房出租,让父亲和爷爷天天住旅馆]]></title>\n                    <url><![CDATA[http://mp.weixin.qq.com/s?__biz=MjM5MzI5NTU3MQ==&mid=2651948167&idx=6&sn=a6848a3db3ae1905a379e113b0d28a21&chksm=bd7c193b8a0b902d6b329058f96c0dac6f5c356ff8967b3baf6c49f3486ab669b0415117b20f#rd]]></url>\n                    <shorturl><![CDATA[]]></shorturl>\n                    <longurl><![CDATA[]]></longurl>\n                    <pub_time>1640916686</pub_time>\n                    <cover><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6yYqTUbYXXuMDjmvjPemzqDA1VDNYOUA6jApSYUe2ibZVKCQHhaV1uQQ/300?wxtype=jpeg&wxfrom=0]]></cover>\n                    <tweetid></tweetid>\n                    <digest><![CDATA[调解员都惊呆了]]></digest>\n                    <fileid>0</fileid>\n                    <sources>\n                        <source>\n                            <name><![CDATA[澎湃新闻]]></name>\n                        </source>\n                    </sources>\n                    <styles></styles>\n                    <native_url></native_url>\n                    <del_flag>0</del_flag>\n                    <contentattr>0</contentattr>\n                    <play_length>0</play_length>\n                    <play_url><![CDATA[]]></play_url>\n                    <player><![CDATA[]]></player>\n                     \n                    \n                    <music_source>0</music_source>\n                    <pic_num>0</pic_num>\n                    <vid></vid>\n                    <author><![CDATA[]]></author>\n                    <recommendation><![CDATA[]]></recommendation>\n                    <pic_urls></pic_urls>\n                    <comment_topic_id>2203258044434694152</comment_topic_id>\n                    <cover_235_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6tEJuo65FnvPs4K1Is8JyqBnteDcZQDghQWEs1hk7Dic6WlOScUnMAoA/300?wxtype=jpeg&wxfrom=0]]></cover_235_1>\n                    <cover_1_1><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6yYqTUbYXXuMDjmvjPemzqDA1VDNYOUA6jApSYUe2ibZVKCQHhaV1uQQ/300?wxtype=jpeg&wxfrom=0]]></cover_1_1>\n                    <cover_16_9><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm6yYqTUbYXXuMDjmvjPemzqDA1VDNYOUA6jApSYUe2ibZVKCQHhaV1uQQ/300?wxtype=jpeg&wxfrom=0]]></cover_16_9>\n                    <appmsg_like_type>2</appmsg_like_type>\n                    <video_width>0</video_width>\n                    <video_height>0</video_height>\n                    <is_pay_subscribe>0</is_pay_subscribe>\n\t\t\t<finder_feed>\n\t\t\t    <object_id><![CDATA[]]></object_id>\n\t\t\t    <object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    <feed_type>0</feed_type>\n\t\t\t    <nickname><![CDATA[]]></nickname>\n\t\t\t    <avatar><![CDATA[]]></avatar>\n\t\t\t    <desc><![CDATA[]]></desc>\n\t\t\t    <media_count>0</media_count>\n\t\t\t    <media_list>\n\t\t\t\t\n\t\t\t    </media_list>\n\t\t\t    <mega_video>\n\t\t\t\t<object_id><![CDATA[]]></object_id>\n\t\t\t\t<object_nonce_id><![CDATA[]]></object_nonce_id>\n\t\t\t    </mega_video>\n\t\t\t</finder_feed>\n                </item>\n                \n            </category>\n            <publisher>\n                <username><![CDATA[gh_d29e0d22a6f9]]></username>\n                <nickname><![CDATA[澎湃新闻]]></nickname>\n            </publisher>\n            <template_header></template_header>\n            <template_detail></template_detail>\n            <forbid_forward>0</forbid_forward>\n        </mmreader>\n        <thumburl><![CDATA[https://mmbiz.qpic.cn/mmbiz_jpg/yl6JkZAE3SibsW3koBdJQwQYE52r6jPm65ghSuECwUwqsVPAlK5eh3zetjPBWTmfk5vJp1LMphLhPHTxENbG5WA/640?wxtype=jpeg&wxfrom=0]]></thumburl>\n    </appmsg>\n    <fromusername><![CDATA[gh_d29e0d22a6f9]]></fromusername>\n    <appinfo>\n        <version></version>\n        <appname><![CDATA[澎湃新闻]]></appname>\n        <isforceupdate>1</isforceupdate>\n    </appinfo>\n    \n    \n    \n    \n    \n    \n</msg>",
        "fromUser": "gh_d29e0d22a6f9",
        "msgId": 1685074936,
        "msgType": 49,
        "newMsgId": 3214017354447244611,
        "self": false,
        "timestamp": 1640916996,
        "toUser": "wxid_phyyedw9xap22",
        "wId": "fa0ff69c-73b4-4062-923f-4a3e184ff43a"
    },
    "messageType": "90001",
    "wcId": "wxid_phyyedw9xap22"
}
取关公众号
{
    "account": "17200000000",
    "data": {
        "userName": "gh_363b924965e9",
        "wId": "927d53ad-1401-43c9-93dc-d9407a6a832c"
    },
    "messageType": "95001",
    "wcId": "wxid_phyyedw9xap22"
}

说明

[!DANGER]

  • 因回调事件过多,本文档仅罗列出常用消息类型,如若有未解析的消息类型皆在私聊/群聊中的其他消息类型。
  • 因消息类型过多,开发者无需处理所有事件,根据自身业务需求,选择性过滤处理即可。
  • 由于网络重放等原因,消息可能存在重复,调用方需要进行消息排重处理。可取消息结构体中的 data 内的 toUser,newMsgId,msgId 三个字段作为标识,进行排重。
    • 数据库方式,为 toUser,newMsgId,msgId 三个字段建立唯一索引,如插入数据库失败,则跳过处理。
    • redis 方式,组合 toUser,newMsgId,msgId 三个字段作为 key,如列表中已存在相应 key 则跳过处理。
Copyright © wkteam.cn 2020 all right reserved,powered by Gitbook该文件修订时间: 2024-09-12 16:34:48

results matching ""

    No results matching ""