🆕 #2725【企业微信】增加家校沟通-发送「学校通知」的接口

This commit is contained in:
0katekate0
2022-07-06 23:50:32 +08:00
committed by GitHub
parent 918daa2a55
commit f30ac6be6c
17 changed files with 1188 additions and 4 deletions

View File

@ -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";
}
/**
* 企业微信模板卡片消息的卡片类型
*/