com.foxinmy.weixin4j.mp.api
Class NotifyApi
java.lang.Object
com.foxinmy.weixin4j.api.BaseApi
com.foxinmy.weixin4j.mp.api.MpApi
com.foxinmy.weixin4j.mp.api.NotifyApi
public class NotifyApi
- extends MpApi
客服消息API
- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
NotifyApi
public NotifyApi(TokenManager tokenManager)
sendNotify
public ApiResult sendNotify(NotifyMessage notify)
throws WeixinException
- 发送客服消息(在48小时内不限制发送次数)
- Parameters:
notify - 客服消息对象
- Returns:
- 处理结果
- Throws:
WeixinException- See Also:
#sendNotify(NotifyMessage, String)}
sendNotify
public ApiResult sendNotify(NotifyMessage notify,
String kfAccount)
throws WeixinException
- 发送客服消息(在48小时内不限制发送次数)
- Parameters:
notify - 客服消息对象kfAccount - 客服账号 可为空
- Returns:
- 处理结果
- Throws:
WeixinException- See Also:
- 发送客服消息,
Text,
Image,
Voice,
Video,
Music,
News,
NotifyMessage
Copyright © 2014–2017. All rights reserved.