移动端发送的消息回调

  • 以下几种类型的消息移动端与好友发过来的消息参数不一致
    • 图片
    • 视频
    • 文件

文本

{
  "type":15000,
  "cmd_type":"OnMessage",
  "user_id":"168xxxxxxxxx",
  "request_key":"",
  "data":{
      "at_list":null,
      "content":"123",
      "conversation_id":"S:1688852942174923_1688852942174923",
      "msg_local_id":270,
      "msg_server_id":1010379,
      "msg_unique_identifier":"CAQQoZ7xxxxxxxxxx",
      "msgtype":0,
      "sender_id":"168xxxxxxxxxxxxx",
      "sender_nickname":"周666",
      "timestamp":1646038817
  }
}

图片

{
    "type":15000,
    "cmd_type":"OnMessage",
    "user_id":"168xxxxxxx",
    "request_key":"",
    "data":{
        "conversation_id":"S:168xxxxxx_168xxxxxx",
        "file_aeskey":"bc8017bxxxxx",
        "file_md5":"bb6f401f45xxxxxx",
        "file_name":"",
        "file_size":229860,
        "file_url":"30690201020462306002010002xxxxxxxx",
        "image_has_hd":0,
        "msg_local_id":272,
        "msg_server_id":1010386,
        "msg_unique_identifier":"CAQQi5/ykAYxxxxxxx",
        "msgtype":14,
        "sender_id":"1688xxxxxxx",
        "sender_nickname":"周xxxx",
        "timestamp":1646038924
    }
}

视频

{
    "type":15000,
    "cmd_type":"OnMessage",
    "user_id":"168xxxxxxxx",
    "request_key":"",
    "data":{
        "conversation_id":"S:168xxxxxxx_168xxxxxxxx",
        "duration":11,
        "file_aeskey":"aee97b87fxxxxxxx",
        "file_md5":"7f55de8xxxxxx",
        "file_name":"",
        "file_size":1653915,
        "file_url":"3069020102046230600201000204b7b23acb02030f424302041911cc780204621c8f85042432xxxxxxxx",
        "msg_local_id":271,
        "msg_server_id":1010384,
        "msg_unique_identifier":"CAQQhJ/ykAYYyx",
        "msgtype":23,
        "sender_id":"168xxxxxxxxx",
        "sender_nickname":"周666",
        "timestamp":1646038919
    }
}

语音

{
    "type":15000,
    "cmd_type":"OnMessage",
    "user_id":"168xxxxxxxx",
    "request_key":"",
    "data":{
        "conversation_id":"S:1688xxxxxxxxxxx",
        "duration":6,
        "file_aeskey":"f6e4de6axxxxxxxx",
        "file_md5":"cad5ac5050xxxxxxxx",
        "file_size":9675,
        "file_url":"30680201020461305fxxxxxxxxxx",
        "msg_local_id":273,
        "msg_server_id":1010390,
        "msg_unique_identifier":"CAQQyPvykAYxxxxxxx",
        "msgtype":16,
        "sender_id":"16888xxxxxxx",
        "sender_nickname":"周xxxxxxx",
        "timestamp":1646050760
    }
}

表情

{
    "type":15000,
    "cmd_type":"OnMessage",
    "user_id":"1688852942174923",
    "request_key":"",
    "data":{
        "conversation_id":"S:1688852942174923_1688852942174923",
        "gif_url":"http://p.qpic.cn/pic_wework/1802732579/f2f488f6ecf127d3f02c47a693034fffae6c4dcd1ec4c1c7/0",
        "msg_local_id":274,
        "msg_server_id":1010393,
        "msg_unique_identifier":"CAQQmPzykAYYy/XIvYuAgAMgtfvr6gU=",
        "msgtype":29,
        "sender_id":"1688852942174923",
        "sender_nickname":"周666",
        "timestamp":1646050840
    }
}

定位消息

{
    "type":15000,
    "cmd_type":"OnMessage",
    "user_id":"1688852942174923",
    "request_key":"",
    "data":{
        "conversation_id":"S:1688852942174923_1688852942174923",
        "detail":"滨江嘉园(南京市浦口区团结西路)",
        "latitude":0,
        "longitude":0,
        "msg_local_id":275,
        "msg_server_id":1010395,
        "msg_unique_identifier":"CAQQo/zykAYYy/XIvYuAgAMg1umU8AI=",
        "msgtype":6,
        "name":"5Y2X5Lqs5biC5ruo5rGf5ZiJ5ZutKOWNl+S6rOW4gua1puWPo+WMuuWboue7k+ilv+i3ryk=",
        "sender_id":"1688852942174923",
        "sender_nickname":"周666",
        "timestamp":1646050851
    }
}

名片

{
    "type":15000,
    "cmd_type":"OnMessage",
    "user_id":"1688852942174923",
    "request_key":"",
    "data":{
        "conversation_id":"S:1688852942174923_1688852942174923",
        "corp_id":1970325115154536,
        "detail":"6Zu26LW356eR5oqA",
        "headimg":"http://wework.qpic.cn/bizmail/MiactKCNIjUxab2zfEA5FU1GibZ1KxxnqgtXLwCfpVX8bxX1gs5sCdwg/0",
        "msg_local_id":277,
        "msg_server_id":1010399,
        "msg_unique_identifier":"CAQQuPzykAYYy/XIvYuAgAMg5YjV6Q4=",
        "msgtype":41,
        "nickname":"5Lil5aSn5L6g8J+Ys/CfkKDwn4+F",
        "sender_id":"1688852942174923",
        "sender_nickname":"周666",
        "shared_id":"1688853528154554",
        "timestamp":1646050873
    }
}

文件

{
    "type":15000,
    "cmd_type":"OnMessage",
    "user_id":"1688852942174923",
    "request_key":"",
    "data":{
        "conversation_id":"S:1688852942174923_1688852942174923",
        "file_aeskey":"f41a8fa17e3c47578fe25c5bcd2f9ced",
        "file_md5":"e0be603bac7656d55f69766ece996e76",
        "file_name":"Y2xpZW50X2xvZy50eHQ=",
        "file_size":96214,
        "file_url":"3069020102046230600201000204b7b23acb02030f424302041b11cc780204621cbf3b042438373161336531632d646336652d346465392d616535612d66366661336234353536366402010002030177e00410e0be603bac7656d55f69766ece996e760201050201000400",
        "msg_local_id":279,
        "msg_server_id":1010409,
        "msg_unique_identifier":"CAQQu/7ykAYYy/XIvYuAgAMg2YfhPg==",
        "msgtype":15,
        "sender_id":"1688852942174923",
        "sender_nickname":"周666",
        "timestamp":1646051131
    }
}

链接

{
    "type":15000,
    "cmd_type":"OnMessage",
    "user_id":"1688852942174923",
    "request_key":"",
    "data":{
        "conversation_id":"S:1688852942174923_1688852942174923",
        "desc":"文档",
        "msg_local_id":278,
        "msg_server_id":1010403,
        "msg_unique_identifier":"CAQQ8v3ykAYYy/XIvYuAgAMg2dWdvQ8=",
        "msgtype":13,
        "sender_id":"1688852942174923",
        "sender_nickname":"周666",
        "thumburl":"https://wwcdn.weixin.qq.com/node/wework/images/merge_word.png",
        "timestamp":1646051058,
        "title":"{\"channel_",
        "url":"https://doc.weixin.qq.com/txdoc/word?docid=w2_AMsAOgayALcJCZfFUg1S9GFHvGGJk\u0026scode=AGgAsAeUABAyUJ6RXgAMsAOgayALc\u0026type=0"
    }
}

小程序

{
    "type":15000,
    "cmd_type":"OnMessage",
    "user_id":"1688852942174923",
    "request_key":"",
    "data":{
        "appid":"wx23dde3ba32269caa",
        "conversation_id":"S:1688852942174923_1688852942174923",
        "cover_image_aeskey":"f95ecc17033a42189c05892777b0f9f5",
        "cover_image_id":"3069020102046230600201000204b7b23acb02030f424302041b11cc780204621cbfad042434643236653063652d613936662d346664332d393932392d3663333666643436663662380201000203018a7004103027eef834817131de048a40270fdab00201010201000400",
        "cover_image_md5":"3027eef834817131de048a40270fdab0",
        "cover_image_size":100961,
        "desc":"肯德基自助点餐,就餐更安心。",
        "headimg":"http://mmbiz.qpic.cn/mmbiz_png/SE9ICmPPKWjF6saB2Xmgml4QB6JpW60cYxMicc4EZ7ySawMXLcHYdsibX51ibcDFXGb8c2O1OZiajZCOpQZpSpWHTA/640?wx_fmt=png\u0026wxfrom=200",
        "msg_local_id":283,
        "msg_server_id":1010425,
        "msg_unique_identifier":"CAQQrf/ykAYYy/XIvYuAgAMg1eW5igw=",
        "msgtype":78,
        "pages":"preorderHome/pages/enter/home/index.html",
        "sender_id":"1688852942174923",
        "sender_nickname":"周666",
        "showtype":42,
        "timestamp":1646051246,
        "title":"肯德基自助点餐",
        "username":"gh_50338e5b8c9d@app"
    }
}

视频号

{
    "type":15000,
    "cmd_type":"OnMessage",
    "user_id":"1688852942174923",
    "request_key":"",
    "data":{
        "channel_name":"车已经有了,就缺个人了",
        "channel_url":"https://channels.weixin.qq.com/web/pages/feed?eid=export%2FUzFfAgtgekIEAQAAAAAA15Uu0UkZQgAAAAstQy6ubaLX4KHWvLEZgBPEl4MkOC9kOIL9zNPgMIDe8jXqWbeBBlvecXS9PvkZ",
        "conversation_id":"S:1688852942174923_1688852942174923",
        "encode_data":"CAEQACKeHQAE9OmXBAAAAQAAAAAA5/JTMcRtsrpZ/6G/HGIgAAAAaeq5SzX7s7sPwaz04zCEwYwyALHFYGIb/l1etP1AtP3ZCJsiziBOLzDeuB1JrIceCWyib5R6whh1I9z7adJrivuq1I98qoGCgS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AymMA4tAba/cysuGh4kRG2bNbCKOqqbOnT7h2xD33FIpX/qBrii3vtHdfGePG6sqoLKOzbqUKfaA/NG6Rhnv9SpgHlruvCsrddIrDCPEWeGqusUB0LGHsaMOXHYjCdCJyefeUS2/DxoW+Ist6GPAbiLdoo9aKY0kJD7zlzsrIDdjbE0dl1GYAMbejuS3MKuIg6oztibb7K5HBTpmNqPIpJzmtO9NbF9O5ckkl4HUh8Hz1BhTO0c58NbScghQYjtIRiR/imXcHUQSmPprUF28mNd+5KyRasZxBptN/OalARibRR9wwqM1Wo3q074CogUB096o+Xdcn9eIa0wkDByNA6AQopeQ+hgxaoKT1gxXdU7KVfdZjlEHaIUcR6MuWBC5mKLSD8t1maDEs5571dyr1urgN0qF7sU54Dric76V7NcjQ5V7widapvJzzHGqbB2THpnTRaUq6qerNMNhIxyJUfopT9BOMPYFrPOEQOkc8M9LLo8xyEl4e6RxMxRoenW95ov2OsCXBI39W19iNqSHi/uenSvhFlXTeRibwKybOkoAA==",
        "head_img_url":"http://wx.qlogo.cn/finderhead/vDwntJFbiafvrsu8omkwmzviaVde2KePrzGcCYicA7EGHLUFwbo4wlOjw/0",
        "msg_local_id":284,
        "msg_server_id":1010427,
        "msg_unique_identifier":"CAQQtP/ykAYYy/XIvYuAgAMg6sLhqA0=",
        "msgtype":141,
        "sender_id":"1688852942174923",
        "sender_nickname":"周666",
        "thumb_url":"http://wxapp.tc.qq.com/251/20304/stodownload?encfilekey=rjD5jyTuFrIpZ2ibE8T7YmwgiahniaXswqzicGqhUibb40gLnTED1picZzMEIXYLnWpw7Qbic9jSiajC9zXYbFa0DWZUdSzsVch8QsVQhvYO810gCLibVA5CQ5e0ESg\u0026adaptivelytrans=0\u0026bizid=1023\u0026dotrans=0\u0026hy=SH\u0026idx=1\u0026m=\u0026scene=0\u0026token=AxricY7RBHdVe8AomWSkUTSpZxtzvf0PaHZHjBdLnOR9QJtoqm10DSwG2PC4GIJu6pwXSjQ8I7Jk\u0026finder_expire_time=1646656033\u0026finder_eid=export%2FUzFfAgtgekIEAQAAAAAA15Uu0UkZQgAAAAstQy6ubaLX4KHWvLEZgBPEl4MkOC9kOIL9zNPgMIDe8jXqWbeBBlvecXS9PvkZ",
        "timestamp":1646051252,
        "username":"咬米ya"
    }
}
Copyright © wkteam.cn 2020 all right reserved,powered by Gitbook该文件修订时间: 2022-08-06 23:28:48

results matching ""

    No results matching ""