public class WxMaMsgServiceImpl extends Object implements WxMaMsgService
| 构造器和说明 | 
|---|
WxMaMsgServiceImpl()  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
com.google.gson.JsonObject | 
createUpdatableMessageActivityId()
  创建被分享动态消息的 activity_id. 
 | 
boolean | 
sendKefuMsg(WxMaKefuMessage message)
 发送客服消息
 详情请见: 发送客服消息
 接口url格式:https://api.weixin.qq.com/cgi-bin/message/custom/send? 
 | 
void | 
sendSubscribeMsg(WxMaSubscribeMessage subscribeMessage)
 发送订阅消息
 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html
  
 | 
void | 
sendUniformMsg(WxMaUniformMessage uniformMessage)
 下发小程序和公众号统一的服务消息
 详情请见: 下发小程序和公众号统一的服务消息
 接口url格式:https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send? 
 | 
void | 
setUpdatableMsg(WxMaUpdatableMsg msg)
  修改被分享的动态消息. 
 | 
public boolean sendKefuMsg(WxMaKefuMessage message) throws WxErrorException
WxMaMsgService发送客服消息 详情请见: 发送客服消息 接口url格式:https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN
sendKefuMsg 在接口中 WxMaMsgServicemessage - 客服消息WxErrorException - .public void sendSubscribeMsg(WxMaSubscribeMessage subscribeMessage) throws WxErrorException
WxMaMsgService发送订阅消息 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html
sendSubscribeMsg 在接口中 WxMaMsgServicesubscribeMessage - 订阅消息WxErrorException - .public void sendUniformMsg(WxMaUniformMessage uniformMessage) throws WxErrorException
WxMaMsgService下发小程序和公众号统一的服务消息 详情请见: 下发小程序和公众号统一的服务消息 接口url格式:https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token=ACCESS_TOKEN
sendUniformMsg 在接口中 WxMaMsgServiceuniformMessage - 消息WxErrorException - .public com.google.gson.JsonObject createUpdatableMessageActivityId()
                                                            throws WxErrorException
WxMaMsgService创建被分享动态消息的 activity_id. 动态消息: https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share/updatable-message.html 文档地址:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/updatable-message/updatableMessage.createActivityId.html 接口地址:GET https://api.weixin.qq.com/cgi-bin/message/wxopen/activityid/create?access_token=ACCESS_TOKEN
createUpdatableMessageActivityId 在接口中 WxMaMsgServiceWxErrorException - .public void setUpdatableMsg(WxMaUpdatableMsg msg) throws WxErrorException
WxMaMsgService修改被分享的动态消息. 动态消息: https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share/updatable-message.html 文档地址:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/updatable-message/updatableMessage.setUpdatableMsg.html 接口地址:POST https://api.weixin.qq.com/cgi-bin/message/wxopen/activityid/create?access_token=ACCESS_TOKEN
setUpdatableMsg 在接口中 WxMaMsgServicemsg - 动态消息WxErrorException - .Copyright © 2021. All rights reserved.