mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 10:38:42 +08:00 
			
		
		
		
	🎨 完善补充客户群详情bean
This commit is contained in:
		| @ -24,7 +24,7 @@ public class WxCpUserExternalGroupChatInfo extends WxCpBaseResp { | ||||
|   @Setter | ||||
|   public static class GroupChat implements Serializable { | ||||
|     private static final long serialVersionUID = -4301684507150486556L; | ||||
|      | ||||
|  | ||||
|     @SerializedName("chat_id") | ||||
|     private String chatId; | ||||
|  | ||||
| @ -43,6 +43,8 @@ public class WxCpUserExternalGroupChatInfo extends WxCpBaseResp { | ||||
|     @SerializedName("member_list") | ||||
|     private List<GroupMember> memberList; | ||||
|  | ||||
|     @SerializedName("admin_list") | ||||
|     private List<GroupAdmin> adminList; | ||||
|   } | ||||
|  | ||||
|   @Getter | ||||
| @ -63,7 +65,7 @@ public class WxCpUserExternalGroupChatInfo extends WxCpBaseResp { | ||||
|  | ||||
|     @SerializedName("join_time") | ||||
|     private Long joinTime; | ||||
|      | ||||
|  | ||||
|     /** | ||||
|     * 外部联系人在微信开放平台的唯一身份标识(微信unionid) | ||||
|     * 通过此字段企业可将外部联系人与公众号/小程序用户关联起来 | ||||
| @ -81,6 +83,33 @@ public class WxCpUserExternalGroupChatInfo extends WxCpBaseResp { | ||||
|     @SerializedName("join_scene") | ||||
|     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) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 418874537
					418874537