mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-29 09:38:19 +08:00
🆕 #2324【企业微信】添加对新的模版卡片消息的支持
This commit is contained in:
@ -120,6 +120,37 @@ public class WxConsts {
|
||||
* 小程序通知消息.
|
||||
*/
|
||||
public static final String MINIPROGRAM_NOTICE = "miniprogram_notice";
|
||||
|
||||
/**
|
||||
* 模板卡片消息.
|
||||
*/
|
||||
public static final String TEMPLATE_CARD = "template_card";
|
||||
}
|
||||
|
||||
/**
|
||||
* 企业微信模板卡片消息的卡片类型
|
||||
*/
|
||||
public static class TemplateCardType {
|
||||
/**
|
||||
* 文本通知型卡片
|
||||
*/
|
||||
public static final String TEXT_NOTICE = "text_notice";
|
||||
/**
|
||||
* 图文展示型卡片
|
||||
*/
|
||||
public static final String NEWS_NOTICE = "news_notice";
|
||||
/**
|
||||
* 按钮交互型卡片
|
||||
*/
|
||||
public static final String BUTTON_INTERACTION = "button_interaction";
|
||||
/**
|
||||
* 投票选择型卡片
|
||||
*/
|
||||
public static final String VOTE_INTERACTION = "vote_interaction";
|
||||
/**
|
||||
* 多项选择型卡片
|
||||
*/
|
||||
public static final String MULTIPLE_INTERACTION = "multiple_interaction";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user