mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
🎨 完善补充客户群详情bean
This commit is contained in:
parent
efb2c52011
commit
01ab45bc0c
@ -24,7 +24,7 @@ public class WxCpUserExternalGroupChatInfo extends WxCpBaseResp {
|
|||||||
@Setter
|
@Setter
|
||||||
public static class GroupChat implements Serializable {
|
public static class GroupChat implements Serializable {
|
||||||
private static final long serialVersionUID = -4301684507150486556L;
|
private static final long serialVersionUID = -4301684507150486556L;
|
||||||
|
|
||||||
@SerializedName("chat_id")
|
@SerializedName("chat_id")
|
||||||
private String chatId;
|
private String chatId;
|
||||||
|
|
||||||
@ -43,6 +43,8 @@ public class WxCpUserExternalGroupChatInfo extends WxCpBaseResp {
|
|||||||
@SerializedName("member_list")
|
@SerializedName("member_list")
|
||||||
private List<GroupMember> memberList;
|
private List<GroupMember> memberList;
|
||||||
|
|
||||||
|
@SerializedName("admin_list")
|
||||||
|
private List<GroupAdmin> adminList;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@ -63,7 +65,7 @@ public class WxCpUserExternalGroupChatInfo extends WxCpBaseResp {
|
|||||||
|
|
||||||
@SerializedName("join_time")
|
@SerializedName("join_time")
|
||||||
private Long joinTime;
|
private Long joinTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 外部联系人在微信开放平台的唯一身份标识(微信unionid)
|
* 外部联系人在微信开放平台的唯一身份标识(微信unionid)
|
||||||
* 通过此字段企业可将外部联系人与公众号/小程序用户关联起来
|
* 通过此字段企业可将外部联系人与公众号/小程序用户关联起来
|
||||||
@ -81,6 +83,33 @@ public class WxCpUserExternalGroupChatInfo extends WxCpBaseResp {
|
|||||||
@SerializedName("join_scene")
|
@SerializedName("join_scene")
|
||||||
private int joinScene;
|
private int joinScene;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 邀请者。目前仅当是由本企业内部成员邀请入群时会返回该值
|
||||||
|
*/
|
||||||
|
@SerializedName("invitor")
|
||||||
|
private Invitor invitor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public static class Invitor{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 邀请者的userid
|
||||||
|
*/
|
||||||
|
@SerializedName("userid")
|
||||||
|
private String userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public static class GroupAdmin{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 群管理员userid
|
||||||
|
*/
|
||||||
|
@SerializedName("userid")
|
||||||
|
private String userId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static WxCpUserExternalGroupChatInfo fromJson(String json) {
|
public static WxCpUserExternalGroupChatInfo fromJson(String json) {
|
||||||
|
Loading…
Reference in New Issue
Block a user