From 0dee7960ab872d3b66c11fcc69e1536cc413469d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 28 Nov 2025 13:48:30 +0000 Subject: [PATCH 1/2] Initial plan From 6e205af0b529011a6f45f8e8bec52371fe82f97c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 28 Nov 2025 13:52:28 +0000 Subject: [PATCH 2/2] =?UTF-8?q?feat(cp):=20=E6=B7=BB=E5=8A=A0=E4=BC=81?= =?UTF-8?q?=E4=B8=9A=E5=BE=AE=E4=BF=A1=E4=BC=9A=E8=AF=9D=E5=AD=98=E6=A1=A3?= =?UTF-8?q?=E9=9F=B3=E8=A7=86=E9=A2=91=E9=80=9A=E8=AF=9D(voiptext)?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E7=B1=BB=E5=9E=8B=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com> --- .../cp/bean/msgaudit/WxCpChatModel.java | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/msgaudit/WxCpChatModel.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/msgaudit/WxCpChatModel.java index c88cb7b9be..21a29abf8f 100644 --- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/msgaudit/WxCpChatModel.java +++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/msgaudit/WxCpChatModel.java @@ -202,6 +202,12 @@ public class WxCpChatModel implements Serializable { @SerializedName("sphfeed") private SphFeed sphFeed; + /** + * 音视频通话消息 + */ + @SerializedName("voiptext") + private VoipText voipText; + /** * From json wx cp chat model. * @@ -1333,4 +1339,40 @@ public String toJson() { } + /** + * 音视频通话消息 + */ + @Getter + @Setter + public static class VoipText implements Serializable { + private static final long serialVersionUID = -5028321625140879571L; + + @SerializedName("callduration") + private Integer callDuration; + + @SerializedName("invitetype") + private Integer inviteType; + + /** + * From json voip text. + * + * @param json the json + * @return the voip text + */ + public static VoipText fromJson(String json) { + return WxCpGsonBuilder.create().fromJson(json, VoipText.class); + } + + /** + * To json string. + * + * @return the string + */ + public String toJson() { + return WxCpGsonBuilder.create().toJson(this); + } + + } + + }