Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound403 committed Jun 29, 2023
1 parent ac8d5d2 commit e2c9894
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
import java.util.stream.Collectors;

/**
* The type Message response.
*
* @author felord
* @since 2021/11/22 11:41
* @since 2021 /11/22 11:41
*/
@EqualsAndHashCode(callSuper = true)
@Data
Expand All @@ -39,18 +41,38 @@ public class MessageResponse extends WeComResponse {
private String msgid;
private String responseCode;

/**
* To invaliduser list list.
*
* @return the list
*/
public List<String> toInvaliduserList() {
return toList(invaliduser);
}

/**
* To invalidparty list list.
*
* @return the list
*/
public List<String> toInvalidpartyList() {
return toList(invalidparty);
}

/**
* To invalidtag list list.
*
* @return the list
*/
public List<String> toInvalidtagList() {
return toList(invalidtag);
}

/**
* To unlicenseduser list list.
*
* @return the list
*/
public List<String> toUnlicenseduserList() {
return toList(unlicenseduser);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (c) 2023. felord.cn
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://www.apache.org/licenses/LICENSE-2.0
* Website:
* https://felord.cn
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package cn.felord.api;

import cn.felord.domain.WeComResponse;
Expand All @@ -10,7 +25,7 @@
* 应用消息
*
* @author dax
* @since 2023/6/29 9:06
* @since 2023 /6/29 9:06
*/
interface InternalAgentMessageApi {

Expand All @@ -27,6 +42,7 @@ interface InternalAgentMessageApi {
/**
* 更新模版卡片消息
*
* @param <R> the type parameter
* @param request the request
* @return the message response
* @see TemplateReplaceCardBuilders
Expand Down

0 comments on commit e2c9894

Please sign in to comment.