Package 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)
-
-
Constructor Summary
Constructors Constructor Description NotifyApi(com.foxinmy.weixin4j.token.TokenManager tokenManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.foxinmy.weixin4j.http.weixin.ApiResult
sendNotify(NotifyMessage notify)
发送客服消息(在48小时内不限制发送次数)com.foxinmy.weixin4j.http.weixin.ApiResult
sendNotify(NotifyMessage notify, String kfAccount)
发送客服消息(在48小时内不限制发送次数)-
Methods inherited from class com.foxinmy.weixin4j.mp.api.MpApi
weixinBundle
-
-
-
-
Method Detail
-
sendNotify
public com.foxinmy.weixin4j.http.weixin.ApiResult sendNotify(NotifyMessage notify) throws com.foxinmy.weixin4j.exception.WeixinException
发送客服消息(在48小时内不限制发送次数)- Parameters:
notify
- 客服消息对象- Returns:
- 处理结果
- Throws:
com.foxinmy.weixin4j.exception.WeixinException
-
sendNotify
public com.foxinmy.weixin4j.http.weixin.ApiResult sendNotify(NotifyMessage notify, String kfAccount) throws com.foxinmy.weixin4j.exception.WeixinException
发送客服消息(在48小时内不限制发送次数)- Parameters:
notify
- 客服消息对象kfAccount
- 客服账号 可为空- Returns:
- 处理结果
- Throws:
com.foxinmy.weixin4j.exception.WeixinException
- See Also:
- 发送客服消息,
Text
,Image
,Voice
,Video
,Music
,News
,NotifyMessage
-
-