public class WxCpMessageServiceImpl extends Object implements WxCpMessageService
| 构造器和说明 |
|---|
WxCpMessageServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
互联企业的应用支持推送文本、图片、视频、文件、图文等类型。
|
public WxCpMessageSendResult send(WxCpMessage message) throws WxErrorException
WxCpMessageService发送消息 详情请见: https://work.weixin.qq.com/api/doc/90000/90135/90236
send 在接口中 WxCpMessageServicemessage - 要发送的消息对象WxErrorException - the wx error exceptionpublic WxCpMessageSendStatistics getStatistics(int timeType) throws WxErrorException
WxCpMessageService查询应用消息发送统计 请求方式: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
getStatistics 在接口中 WxCpMessageServicetimeType - 查询哪天的数据,0:当天;1:昨天。默认为0。WxErrorException - the wx error exceptionpublic WxCpLinkedCorpMessageSendResult sendLinkedCorpMessage(WxCpLinkedCorpMessage message) throws WxErrorException
WxCpMessageService互联企业的应用支持推送文本、图片、视频、文件、图文等类型。 请求地址:https://qyapi.weixin.qq.com/cgi-bin/linkedcorp/message/send?access_token=ACCESS_TOKEN 文章地址:https://work.weixin.qq.com/api/doc/90000/90135/90250
sendLinkedCorpMessage 在接口中 WxCpMessageServicemessage - 要发送的消息对象WxErrorException - the wx error exceptionCopyright © 2022. All rights reserved.