Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e46486

Browse files
authored
🎨#3598 【企业微信】 会话存档接口添加对音视频通话(voiptext)消息类型的支持
1 parent219a8f4 commit4e46486

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

‎weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/msgaudit/WxCpChatModel.java‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,12 @@ public class WxCpChatModel implements Serializable {
202202
@SerializedName("sphfeed")
203203
privateSphFeedsphFeed;
204204

205+
/**
206+
* 音视频通话消息
207+
*/
208+
@SerializedName("voiptext")
209+
privateVoipTextvoipText;
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+
publicstaticclassVoipTextimplementsSerializable {
1348+
privatestaticfinallongserialVersionUID = -5028321625140879571L;
1349+
1350+
@SerializedName("callduration")
1351+
privateIntegercallDuration;
1352+
1353+
@SerializedName("invitetype")
1354+
privateIntegerinviteType;
1355+
1356+
/**
1357+
* From json voip text.
1358+
*
1359+
* @param json the json
1360+
* @return the voip text
1361+
*/
1362+
publicstaticVoipTextfromJson(Stringjson) {
1363+
returnWxCpGsonBuilder.create().fromJson(json,VoipText.class);
1364+
}
1365+
1366+
/**
1367+
* To json string.
1368+
*
1369+
* @return the string
1370+
*/
1371+
publicStringtoJson() {
1372+
returnWxCpGsonBuilder.create().toJson(this);
1373+
}
1374+
1375+
}
1376+
1377+
13361378
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp