From 4e46486f2c13f536603eaa1bd403e67173f03081 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Thu, 4 Dec 2025 19:43:15 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20#3598=20=E3=80=90=E4=BC=81=E4=B8=9A?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E3=80=91=20=E4=BC=9A=E8=AF=9D=E5=AD=98?= =?UTF-8?q?=E6=A1=A3=E6=8E=A5=E5=8F=A3=E6=B7=BB=E5=8A=A0=E5=AF=B9=E9=9F=B3?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E9=80=9A=E8=AF=9D(voiptext)=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E7=B1=BB=E5=9E=8B=E7=9A=84=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../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 c88cb7b9b..21a29abf8 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 class WxCpChatModel implements Serializable { } + /** + * 音视频通话消息 + */ + @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); + } + + } + + }