public interface WxCpMessageService
| 限定符和类型 | 方法和说明 |
|---|---|
WxCpMessageSendStatistics |
getStatistics(int timeType)
查询应用消息发送统计
请求方式:POST(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/message/get_statistics?
|
WxCpMessageSendResult |
send(WxCpMessage message)
发送消息
详情请见: https://work.weixin.qq.com/api/doc/90000/90135/90236
|
WxCpLinkedCorpMessageSendResult |
sendLinkedCorpMessage(WxCpLinkedCorpMessage message)
互联企业的应用支持推送文本、图片、视频、文件、图文等类型。
|
WxCpMessageSendResult send(WxCpMessage message) throws me.chanjar.weixin.common.error.WxErrorException
发送消息 详情请见: https://work.weixin.qq.com/api/doc/90000/90135/90236
message - 要发送的消息对象me.chanjar.weixin.common.error.WxErrorException - the wx error exceptionWxCpMessageSendStatistics getStatistics(int timeType) throws me.chanjar.weixin.common.error.WxErrorException
查询应用消息发送统计 请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/message/get_statistics?access_token=ACCESS_TOKEN 详情请见: https://work.weixin.qq.com/api/doc/90000/90135/92369
timeType - 查询哪天的数据,0:当天;1:昨天。默认为0。me.chanjar.weixin.common.error.WxErrorException - the wx error exceptionWxCpLinkedCorpMessageSendResult sendLinkedCorpMessage(WxCpLinkedCorpMessage message) throws me.chanjar.weixin.common.error.WxErrorException
互联企业的应用支持推送文本、图片、视频、文件、图文等类型。 请求地址:https://qyapi.weixin.qq.com/cgi-bin/linkedcorp/message/send?access_token=ACCESS_TOKEN 文章地址:https://work.weixin.qq.com/api/doc/90000/90135/90250
message - 要发送的消息对象me.chanjar.weixin.common.error.WxErrorException - the wx error exception