binarywang / WxJava

微信开发 Java SDK ,支持包括微信支付,开放平台,小程序,企业微信,视频号,公众号等的后端开发
Apache License 2.0
30.13k stars 8.71k forks source link

会话存档支持external_redpacket类型 #2818

Closed jinxiaoyi closed 2 years ago

jinxiaoyi commented 2 years ago

提问前,请确保阅读过项目首页说明以及wiki开发文档相关内容,完成内容后,请务必移除包括本句在内的无用内容,以免影响他人阅读,否则直接关闭,谢谢合作~

简要描述

会话存档类型中. 暂时还不支持互通红包消息..还有todo,vote类型

官方文档地址

https://developer.work.weixin.qq.com/document/path/91774#%E4%BA%92%E9%80%9A%E7%BA%A2%E5%8C%85%E6%B6%88%E6%81%AF

0katekate0 commented 2 years ago

互通红包消息是有的,共用redpacket,投票消息官网没有json数据,你这边有没有消息的json?

jinxiaoyi commented 2 years ago

我看了下日志. Vote和todo 我在本地测不出来.
企业微信端发起了投票但是类型是link {"msgid":"8397471766999629074_1663668409559_external","action":"send","send":null,"from":"jinxiaoyi","tolist":["wo3_d2DAAAI5DwancuqE_5WBJl8kOE9Q","fanqiang","chengxuyuan","ChunBaiXiaoNiangZi","xuchenchen","wanbin","yangcongcong","wm3_d2DAAAmQ1gzS0Gq0_zFV2CgNGxcw","wm3_d2DAAAVwxTlebsUo-iAyPAUC-sZw"],"roomid":"wr3_d2DAAAi9g6AVWSZf9rChgxSSpvxw","msgtime":1663668405625,"msgtype":"link","text":null,"image":null,"revoke":null,"agree":null,"disagree":null,"voice":null,"video":null,"card":null,"location":null,"emotion":null,"file":null,"link":{"title":"测试","description":"描述s s 123","link_url":"https://doc.weixin.qq.com/forms/v/AN8A9wd2AAwAA4AYAatADUEsJfcSPsRVv_group","image_url":"https://wwcdn.weixin.qq.com/node/wework/images/notification-tform.536d92a1bf.png"},"weapp":null,"chatrecord":null,"collect":null,"redpacket":null,"meeting":null,"time":null,"user":null,"doc":null,"info":null,"calendar":null,"mixed":null,"voiceid":null,"meeting_voice_call":null,"voipid":null,"voip_doc_share":null,"sphfeed":null} 微信端发起投票 @.***","displayname":"腾讯投票"}}

2022年9月20日 17:45,0katekate0 @.***> 写道:

互通红包消息是有的,共用redpacket,投票消息官网没有json数据,你这边有没有消息的json?

— Reply to this email directly, view it on GitHub https://github.com/Wechat-Group/WxJava/issues/2818#issuecomment-1252105664, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJX34EQSCNPESFYV75YUP3V7GBTJANCNFSM6AAAAAAQQ3ANWM. You are receiving this because you authored the thread.

0katekate0 commented 2 years ago

getChatPlainText()

1、获取下明文,贴一下vote的json,这两种类型现在官网上是没注明的,估计企微还未完善 2、发起了投票但是类型是link,那就直接获取link吧

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.