@@ -24,7 +24,7 @@ public class WxCpUserExternalGroupChatInfo extends WxCpBaseResp {
24
24
@ Setter
25
25
public static class GroupChat implements Serializable {
26
26
private static final long serialVersionUID = -4301684507150486556L ;
27
-
27
+
28
28
@ SerializedName ("chat_id" )
29
29
private String chatId ;
30
30
@@ -43,6 +43,8 @@ public static class GroupChat implements Serializable {
43
43
@ SerializedName ("member_list" )
44
44
private List <GroupMember > memberList ;
45
45
46
+ @ SerializedName ("admin_list" )
47
+ private List <GroupAdmin > adminList ;
46
48
}
47
49
48
50
@ Getter
@@ -63,7 +65,7 @@ public static class GroupMember implements Serializable {
63
65
64
66
@ SerializedName ("join_time" )
65
67
private Long joinTime ;
66
-
68
+
67
69
/**
68
70
* 外部联系人在微信开放平台的唯一身份标识(微信unionid)
69
71
* 通过此字段企业可将外部联系人与公众号/小程序用户关联起来
@@ -81,6 +83,33 @@ public static class GroupMember implements Serializable {
81
83
@ SerializedName ("join_scene" )
82
84
private int joinScene ;
83
85
86
+ /**
87
+ * 邀请者。目前仅当是由本企业内部成员邀请入群时会返回该值
88
+ */
89
+ @ SerializedName ("invitor" )
90
+ private Invitor invitor ;
91
+ }
92
+
93
+ @ Getter
94
+ @ Setter
95
+ public static class Invitor {
96
+
97
+ /**
98
+ * 邀请者的userid
99
+ */
100
+ @ SerializedName ("userid" )
101
+ private String userId ;
102
+ }
103
+
104
+ @ Getter
105
+ @ Setter
106
+ public static class GroupAdmin {
107
+
108
+ /**
109
+ * 群管理员userid
110
+ */
111
+ @ SerializedName ("userid" )
112
+ private String userId ;
84
113
}
85
114
86
115
public static WxCpUserExternalGroupChatInfo fromJson (String json ) {
0 commit comments