Skip to content

Commit 5ff4114

Browse files
authored
🎨 #3886 【企业微信】客服消息新增视频号消息类型(channels)支持
1 parent b89ff6a commit 5ff4114

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/kf/WxCpKfMsgListResp.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public static class WxCpKfMsgItem {
6767
private WxCpKfChannelsShopProductMsg channelsShopProduct;
6868
@SerializedName("channels_shop_order")
6969
private WxCpKfChannelsShopOrderMsg channelsShopOrder;
70+
private WxCpKfChannelsMsg channels;
7071
}
7172

7273
/**
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
package me.chanjar.weixin.cp.bean.kf.msg;
2+
3+
import com.google.gson.annotations.SerializedName;
4+
import lombok.Data;
5+
import lombok.NoArgsConstructor;
6+
7+
/**
8+
* 视频号消息
9+
*
10+
* @author liuzhao created on 2024/2/25
11+
*/
12+
@NoArgsConstructor
13+
@Data
14+
public class WxCpKfChannelsMsg {
15+
16+
/**
17+
* 视频号名称
18+
*/
19+
@SerializedName("nickname")
20+
private String nickname;
21+
22+
/**
23+
* 视频/直播标题
24+
*/
25+
@SerializedName("title")
26+
private String title;
27+
28+
/**
29+
* 视频/直播描述
30+
*/
31+
@SerializedName("desc")
32+
private String desc;
33+
34+
/**
35+
* 封面图片url
36+
*/
37+
@SerializedName("cover_url")
38+
private String coverUrl;
39+
40+
/**
41+
* 视频/直播链接
42+
*/
43+
@SerializedName("url")
44+
private String url;
45+
46+
/**
47+
* 视频号账号名称
48+
*/
49+
@SerializedName("find_username")
50+
private String findUsername;
51+
52+
}

0 commit comments

Comments
 (0)