File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
main/java/me/chanjar/weixin/cp/bean/message
test/java/me/chanjar/weixin/cp/api/impl Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ public static WxCpMessageSendResult fromJson(String json) {
5050 @ SerializedName ("invalidtag" )
5151 private String invalidTag ;
5252
53+ @ SerializedName ("unlicenseduser" )
54+ private String unlicensedUser ;
55+
5356 @ SerializedName ("msgid" )
5457 private String msgId ;
5558
@@ -93,4 +96,13 @@ public List<String> getInvalidPartyList() {
9396 public List <String > getInvalidTagList () {
9497 return this .content2List (this .invalidTag );
9598 }
99+
100+ /**
101+ * Gets unlicensed user list.
102+ *
103+ * @return the unlicensed user list
104+ */
105+ public List <String > getUnlicensedUserList () {
106+ return this .content2List (this .unlicensedUser );
107+ }
96108}
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ public void testSendMessage() throws WxErrorException {
8080 System .out .println (messageSendResult .getInvalidPartyList ());
8181 System .out .println (messageSendResult .getInvalidUserList ());
8282 System .out .println (messageSendResult .getInvalidTagList ());
83+ System .out .println (messageSendResult .getUnlicensedUserList ());
8384 }
8485
8586 /**
You can’t perform that action at this time.
0 commit comments