File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/msgaudit Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,12 @@ public class WxCpChatModel implements Serializable {
202202 @ SerializedName ("sphfeed" )
203203 private SphFeed sphFeed ;
204204
205+ /**
206+ * 音视频通话消息
207+ */
208+ @ SerializedName ("voiptext" )
209+ private VoipText voipText ;
210+
205211 /**
206212 * From json wx cp chat model.
207213 *
@@ -1333,4 +1339,40 @@ public String toJson() {
13331339 }
13341340
13351341
1342+ /**
1343+ * 音视频通话消息
1344+ */
1345+ @ Getter
1346+ @ Setter
1347+ public static class VoipText implements Serializable {
1348+ private static final long serialVersionUID = -5028321625140879571L ;
1349+
1350+ @ SerializedName ("callduration" )
1351+ private Integer callDuration ;
1352+
1353+ @ SerializedName ("invitetype" )
1354+ private Integer inviteType ;
1355+
1356+ /**
1357+ * From json voip text.
1358+ *
1359+ * @param json the json
1360+ * @return the voip text
1361+ */
1362+ public static VoipText fromJson (String json ) {
1363+ return WxCpGsonBuilder .create ().fromJson (json , VoipText .class );
1364+ }
1365+
1366+ /**
1367+ * To json string.
1368+ *
1369+ * @return the string
1370+ */
1371+ public String toJson () {
1372+ return WxCpGsonBuilder .create ().toJson (this );
1373+ }
1374+
1375+ }
1376+
1377+
13361378}
You can’t perform that action at this time.
0 commit comments