mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
#615 公众号客服消息添加 "发送小程序卡片" 类型
This commit is contained in:
@@ -30,6 +30,8 @@ public class WxMpKefuMessage implements Serializable {
|
||||
private String kfAccount;
|
||||
private String cardId;
|
||||
private String mpNewsMediaId;
|
||||
private String miniProgramAppId;
|
||||
private String miniProgramPagePath;
|
||||
private List<WxArticle> articles = new ArrayList<>();
|
||||
|
||||
/**
|
||||
@@ -88,6 +90,13 @@ public class WxMpKefuMessage implements Serializable {
|
||||
return new WxCardBuilder();
|
||||
}
|
||||
|
||||
/**
|
||||
* 小程序卡片
|
||||
*/
|
||||
public static MiniProgramPageBuilder MINIPROGRAMPAGE() {
|
||||
return new MiniProgramPageBuilder();
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 请使用
|
||||
@@ -99,6 +108,7 @@ public class WxMpKefuMessage implements Serializable {
|
||||
* {@link WxConsts.KefuMsgType#NEWS}
|
||||
* {@link WxConsts.KefuMsgType#MPNEWS}
|
||||
* {@link WxConsts.KefuMsgType#WXCARD}
|
||||
* {@link WxConsts.KefuMsgType#MINIPROGRAMPAGE}
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user