mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-29 09:38:19 +08:00
🆕 #2725【企业微信】增加家校沟通-发送「学校通知」的接口
This commit is contained in:
@ -10,7 +10,7 @@ import static me.chanjar.weixin.common.error.WxMpErrorMsgEnum.*;
|
||||
/**
|
||||
* 微信开发所使用到的常量类.
|
||||
*
|
||||
* @author Daniel Qian & binarywang
|
||||
* @author Daniel Qian & binarywang & Wang_Wong
|
||||
*/
|
||||
public class WxConsts {
|
||||
/**
|
||||
@ -133,6 +133,54 @@ public class WxConsts {
|
||||
public static final String MP_NEWS_ARTICLE = "mpnewsarticle";
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送「学校通知」类型
|
||||
* https://developer.work.weixin.qq.com/document/path/92321
|
||||
*/
|
||||
public static class SchoolContactMsgType {
|
||||
|
||||
/**
|
||||
* 文本消息.
|
||||
*/
|
||||
public static final String TEXT = "text";
|
||||
|
||||
/**
|
||||
* 图片消息.
|
||||
*/
|
||||
public static final String IMAGE = "image";
|
||||
|
||||
/**
|
||||
* 语音消息.
|
||||
*/
|
||||
public static final String VOICE = "voice";
|
||||
|
||||
/**
|
||||
* 视频消息.
|
||||
*/
|
||||
public static final String VIDEO = "video";
|
||||
|
||||
/**
|
||||
* 文件消息
|
||||
*/
|
||||
public static final String FILE = "file";
|
||||
|
||||
/**
|
||||
* 图文消息
|
||||
*/
|
||||
public static final String NEWS = "news";
|
||||
|
||||
/**
|
||||
* 图文消息(mpnews)
|
||||
*/
|
||||
public static final String MPNEWS = "mpnews";
|
||||
|
||||
/**
|
||||
* 小程序消息
|
||||
*/
|
||||
public static final String MINIPROGRAM = "miniprogram";
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 企业微信模板卡片消息的卡片类型
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user