18
18
@ Setter
19
19
public class WxCpUserExternalGroupChatInfo extends WxCpBaseResp {
20
20
21
+ /**
22
+ * 客户群详情
23
+ */
21
24
@ SerializedName ("group_chat" )
22
25
private GroupChat groupChat ;
23
26
24
27
/**
25
- * The type Group chat.
28
+ * 客户群详情
26
29
*/
27
30
@ Getter
28
31
@ Setter
29
32
public static class GroupChat implements Serializable {
30
33
private static final long serialVersionUID = -4301684507150486556L ;
31
34
35
+ /**
36
+ * 客户群ID
37
+ */
32
38
@ SerializedName ("chat_id" )
33
39
private String chatId ;
34
-
40
+ /**
41
+ * 群名
42
+ */
35
43
@ SerializedName ("name" )
36
44
private String name ;
37
-
45
+ /**
46
+ * 群主ID
47
+ */
38
48
@ SerializedName ("owner" )
39
49
private String owner ;
40
50
51
+ /**
52
+ * 群的创建时间
53
+ */
41
54
@ SerializedName ("create_time" )
42
55
private Long createTime ;
43
-
56
+ /**
57
+ * 群公告
58
+ */
44
59
@ SerializedName ("notice" )
45
60
private String notice ;
46
-
61
+ /**
62
+ * 群成员列表
63
+ */
47
64
@ SerializedName ("member_list" )
48
65
private List <GroupMember > memberList ;
49
-
66
+ /**
67
+ * 群管理员列表
68
+ */
50
69
@ SerializedName ("admin_list" )
51
70
private List <GroupAdmin > adminList ;
71
+ /**
72
+ * 当前群成员版本号。可以配合客户群变更事件减少主动调用本接口的次数
73
+ */
74
+ @ SerializedName ("member_version" )
75
+ private String memberVersion ;
52
76
}
53
77
54
78
/**
55
- * The type Group member.
79
+ * 群成员
56
80
*/
57
81
@ Getter
58
82
@ Setter
59
83
public static class GroupMember implements Serializable {
60
84
private static final long serialVersionUID = -4301684507150486556L ;
61
85
86
+ /**
87
+ * 群成员id
88
+ */
62
89
@ SerializedName ("userid" )
63
90
private String userId ;
64
91
@@ -70,17 +97,21 @@ public static class GroupMember implements Serializable {
70
97
@ SerializedName ("type" )
71
98
private int type ;
72
99
73
- @ SerializedName ("join_time" )
74
- private Long joinTime ;
75
-
76
100
/**
77
101
* 外部联系人在微信开放平台的唯一身份标识(微信unionid)
78
102
* 通过此字段企业可将外部联系人与公众号/小程序用户关联起来
79
- * 仅当群成员类型是微信用户(包括企业成员未添加好友),且企业或第三方服务商绑定了微信开发者ID有此字段
103
+ * 仅当群成员类型是微信用户(包括企业成员未添加好友),且企业绑定了微信开发者ID有此字段(查看绑定方法)。
104
+ * 第三方不可获取,上游企业不可获取下游企业客户的unionid字段
80
105
*/
81
106
@ SerializedName ("unionid" )
82
107
private String unionId ;
83
108
109
+ /**
110
+ * 入群时间
111
+ */
112
+ @ SerializedName ("join_time" )
113
+ private Long joinTime ;
114
+
84
115
/**
85
116
* 入群方式。
86
117
* 1 - 由成员邀请入群(直接邀请入群)
@@ -91,10 +122,10 @@ public static class GroupMember implements Serializable {
91
122
private int joinScene ;
92
123
93
124
/**
94
- * 该成员入群方式对应的state参数
125
+ * 邀请者。目前仅当是由本企业内部成员邀请入群时会返回该值
95
126
*/
96
- @ SerializedName ("state " )
97
- private String state ;
127
+ @ SerializedName ("invitor " )
128
+ private Invitor invitor ;
98
129
99
130
/**
100
131
* 在群里的昵称
@@ -110,11 +141,6 @@ public static class GroupMember implements Serializable {
110
141
@ SerializedName ("name" )
111
142
private String name ;
112
143
113
- /**
114
- * 邀请者。目前仅当是由本企业内部成员邀请入群时会返回该值
115
- */
116
- @ SerializedName ("invitor" )
117
- private Invitor invitor ;
118
144
}
119
145
120
146
/**
@@ -132,7 +158,7 @@ public static class Invitor {
132
158
}
133
159
134
160
/**
135
- * The type Group admin.
161
+ * 群管理员列表
136
162
*/
137
163
@ Getter
138
164
@ Setter
0 commit comments