public class NotifyProxy extends MPlatformProxy
Description:
tokenManagerweixinRequestClient| 构造器和说明 |
|---|
NotifyProxy(TokenManager tokenManager,
MessageProxy messageProxy) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiResult |
sendNotify(NotifyMessage notify)
发送客服消息(在48小时内不限制发送次数)
|
ApiResult |
sendNotify(NotifyMessage notify,
String kfAccount)
发送客服消息(在48小时内不限制发送次数)
|
getTokenManagerpublic NotifyProxy(TokenManager tokenManager, MessageProxy messageProxy)
public ApiResult sendNotify(NotifyMessage notify) throws WeixinException
notify - 客服消息对象WeixinExceptionpublic ApiResult sendNotify(NotifyMessage notify, String kfAccount) throws WeixinException
notify - 客服消息对象kfAccount - 客服账号 可为空WeixinExceptionTextMessageTuple,
ImageMessageTuple,
VoiceMessageTuple,
VideoMessageTuple,
MusicMessageTuple,
NewsMessageTuple,
NotifyMessageTupleCopyright © 2020. All rights reserved.