Documentation ¶
Index ¶
- func AlibabaLsyMiniappMsgPush(clt *core.SDKClient, req *tmc.AlibabaLsyMiniappMsgPushRequest, session string) (*tmc.AlibabaLsyMiniappMsgPushAPIResponse, error)
- func AlipayXiaodaiUserPermit(clt *core.SDKClient, req *tmc.AlipayXiaodaiUserPermitRequest, session string) (*tmc.AlipayXiaodaiUserPermitAPIResponse, error)
- func TaobaoIstoreGiftingMessageGet(clt *core.SDKClient, req *tmc.TaobaoIstoreGiftingMessageGetRequest, ...) (*tmc.TaobaoIstoreGiftingMessageGetAPIResponse, error)
- func TaobaoTmcGroupAdd(clt *core.SDKClient, req *tmc.TaobaoTmcGroupAddRequest, session string) (*tmc.TaobaoTmcGroupAddAPIResponse, error)
- func TaobaoTmcGroupDelete(clt *core.SDKClient, req *tmc.TaobaoTmcGroupDeleteRequest, session string) (*tmc.TaobaoTmcGroupDeleteAPIResponse, error)
- func TaobaoTmcGroupsGet(clt *core.SDKClient, req *tmc.TaobaoTmcGroupsGetRequest, session string) (*tmc.TaobaoTmcGroupsGetAPIResponse, error)
- func TaobaoTmcMessageProduce(clt *core.SDKClient, req *tmc.TaobaoTmcMessageProduceRequest, session string) (*tmc.TaobaoTmcMessageProduceAPIResponse, error)
- func TaobaoTmcMessagesConfirm(clt *core.SDKClient, req *tmc.TaobaoTmcMessagesConfirmRequest, session string) (*tmc.TaobaoTmcMessagesConfirmAPIResponse, error)
- func TaobaoTmcMessagesConsume(clt *core.SDKClient, req *tmc.TaobaoTmcMessagesConsumeRequest, session string) (*tmc.TaobaoTmcMessagesConsumeAPIResponse, error)
- func TaobaoTmcMessagesProduce(clt *core.SDKClient, req *tmc.TaobaoTmcMessagesProduceRequest, session string) (*tmc.TaobaoTmcMessagesProduceAPIResponse, error)
- func TaobaoTmcMsgSendrecord(clt *core.SDKClient, req *tmc.TaobaoTmcMsgSendrecordRequest, session string) (*tmc.TaobaoTmcMsgSendrecordAPIResponse, error)
- func TaobaoTmcQueueGet(clt *core.SDKClient, req *tmc.TaobaoTmcQueueGetRequest, session string) (*tmc.TaobaoTmcQueueGetAPIResponse, error)
- func TaobaoTmcTopicGroupAdd(clt *core.SDKClient, req *tmc.TaobaoTmcTopicGroupAddRequest, session string) (*tmc.TaobaoTmcTopicGroupAddAPIResponse, error)
- func TaobaoTmcTopicGroupDelete(clt *core.SDKClient, req *tmc.TaobaoTmcTopicGroupDeleteRequest, session string) (*tmc.TaobaoTmcTopicGroupDeleteAPIResponse, error)
- func TaobaoTmcUserCancel(clt *core.SDKClient, req *tmc.TaobaoTmcUserCancelRequest, session string) (*tmc.TaobaoTmcUserCancelAPIResponse, error)
- func TaobaoTmcUserGet(clt *core.SDKClient, req *tmc.TaobaoTmcUserGetRequest, session string) (*tmc.TaobaoTmcUserGetAPIResponse, error)
- func TaobaoTmcUserPermit(clt *core.SDKClient, req *tmc.TaobaoTmcUserPermitRequest, session string) (*tmc.TaobaoTmcUserPermitAPIResponse, error)
- func TaobaoTmcUserTopicsGet(clt *core.SDKClient, req *tmc.TaobaoTmcUserTopicsGetRequest, session string) (*tmc.TaobaoTmcUserTopicsGetAPIResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlibabaLsyMiniappMsgPush ¶
func AlibabaLsyMiniappMsgPush(clt *core.SDKClient, req *tmc.AlibabaLsyMiniappMsgPushRequest, session string) (*tmc.AlibabaLsyMiniappMsgPushAPIResponse, error)
零售云小程序消息推送 alibaba.lsy.miniapp.msg.push
零售云小程序消息推送,推送消息至零售云(喵零等)
func AlipayXiaodaiUserPermit ¶
func AlipayXiaodaiUserPermit(clt *core.SDKClient, req *tmc.AlipayXiaodaiUserPermitRequest, session string) (*tmc.AlipayXiaodaiUserPermitAPIResponse, error)
阿里金融用户授权 alipay.xiaodai.user.permit
阿里金融为用户开通消息通道接口
func TaobaoIstoreGiftingMessageGet ¶
func TaobaoIstoreGiftingMessageGet(clt *core.SDKClient, req *tmc.TaobaoIstoreGiftingMessageGetRequest, session string) (*tmc.TaobaoIstoreGiftingMessageGetAPIResponse, error)
gifting消息获取 taobao.istore.gifting.message.get
该api通过参数查询对应的gifting消息
func TaobaoTmcGroupAdd ¶
func TaobaoTmcGroupAdd(clt *core.SDKClient, req *tmc.TaobaoTmcGroupAddRequest, session string) (*tmc.TaobaoTmcGroupAddAPIResponse, error)
为已开通用户添加用户分组 taobao.tmc.group.add
为已开通用户添加用户分组,授权消息使用
func TaobaoTmcGroupDelete ¶
func TaobaoTmcGroupDelete(clt *core.SDKClient, req *tmc.TaobaoTmcGroupDeleteRequest, session string) (*tmc.TaobaoTmcGroupDeleteAPIResponse, error)
删除指定的分组或分组下的用户 taobao.tmc.group.delete
删除指定的分组或分组下的用户,授权消息使用
func TaobaoTmcGroupsGet ¶
func TaobaoTmcGroupsGet(clt *core.SDKClient, req *tmc.TaobaoTmcGroupsGetRequest, session string) (*tmc.TaobaoTmcGroupsGetAPIResponse, error)
获取自定义用户分组列表 taobao.tmc.groups.get
获取自定义用户分组列表
func TaobaoTmcMessageProduce ¶
func TaobaoTmcMessageProduce(clt *core.SDKClient, req *tmc.TaobaoTmcMessageProduceRequest, session string) (*tmc.TaobaoTmcMessageProduceAPIResponse, error)
发布单条消息 taobao.tmc.message.produce
发布单条消息
func TaobaoTmcMessagesConfirm ¶
func TaobaoTmcMessagesConfirm(clt *core.SDKClient, req *tmc.TaobaoTmcMessagesConfirmRequest, session string) (*tmc.TaobaoTmcMessagesConfirmAPIResponse, error)
确认消费消息的状态 taobao.tmc.messages.confirm
确认消费消息的状态
func TaobaoTmcMessagesConsume ¶
func TaobaoTmcMessagesConsume(clt *core.SDKClient, req *tmc.TaobaoTmcMessagesConsumeRequest, session string) (*tmc.TaobaoTmcMessagesConsumeAPIResponse, error)
消费多条消息 taobao.tmc.messages.consume
消费多条消息。消费时如果没有返回消息,建议做控制,不要一直调api,浪费应用的流量。如对程序做好优化,若没有消息则,sleep 100ms 等。
func TaobaoTmcMessagesProduce ¶
func TaobaoTmcMessagesProduce(clt *core.SDKClient, req *tmc.TaobaoTmcMessagesProduceRequest, session string) (*tmc.TaobaoTmcMessagesProduceAPIResponse, error)
批量发送消息 taobao.tmc.messages.produce
批量发送消息
func TaobaoTmcMsgSendrecord ¶
func TaobaoTmcMsgSendrecord(clt *core.SDKClient, req *tmc.TaobaoTmcMsgSendrecordRequest, session string) (*tmc.TaobaoTmcMsgSendrecordAPIResponse, error)
消息发送记录查询 taobao.tmc.msg.sendrecord
查询单条消息发送记录,只返回返回条数和时间。
func TaobaoTmcQueueGet ¶
func TaobaoTmcQueueGet(clt *core.SDKClient, req *tmc.TaobaoTmcQueueGetRequest, session string) (*tmc.TaobaoTmcQueueGetAPIResponse, error)
获取消息队列积压情况 taobao.tmc.queue.get
根据appkey和groupName获取消息队列积压情况
func TaobaoTmcTopicGroupAdd ¶
func TaobaoTmcTopicGroupAdd(clt *core.SDKClient, req *tmc.TaobaoTmcTopicGroupAddRequest, session string) (*tmc.TaobaoTmcTopicGroupAddAPIResponse, error)
topic分组路由 taobao.tmc.topic.group.add
根据topic名称路由消息到不同的分组。(前提:发送方未指定分组名) 如果是需要授权的消息,分组路由先判断用户分组路由(使用taobao.tmc.group.add添加的路由),用户分组路由不存在时,才会判断topic分组路由
func TaobaoTmcTopicGroupDelete ¶
func TaobaoTmcTopicGroupDelete(clt *core.SDKClient, req *tmc.TaobaoTmcTopicGroupDeleteRequest, session string) (*tmc.TaobaoTmcTopicGroupDeleteAPIResponse, error)
删除消息topic分组路由 taobao.tmc.topic.group.delete
删除根据topic名称路由消息到不同的分组关系
func TaobaoTmcUserCancel ¶
func TaobaoTmcUserCancel(clt *core.SDKClient, req *tmc.TaobaoTmcUserCancelRequest, session string) (*tmc.TaobaoTmcUserCancelAPIResponse, error)
取消用户的消息服务 taobao.tmc.user.cancel
取消用户的消息服务
func TaobaoTmcUserGet ¶
func TaobaoTmcUserGet(clt *core.SDKClient, req *tmc.TaobaoTmcUserGetRequest, session string) (*tmc.TaobaoTmcUserGetAPIResponse, error)
获取用户已开通消息 taobao.tmc.user.get
查询指定用户开通的消息通道和组
func TaobaoTmcUserPermit ¶
func TaobaoTmcUserPermit(clt *core.SDKClient, req *tmc.TaobaoTmcUserPermitRequest, session string) (*tmc.TaobaoTmcUserPermitAPIResponse, error)
为已授权的用户开通消息服务 taobao.tmc.user.permit
为已授权的用户开通消息服务,授权消息使用。<br/><span style="color:red">注意:topic覆盖更新,务必传入全量topic,或者不传topics,使用appkey订阅的所有topic</span>
func TaobaoTmcUserTopicsGet ¶
func TaobaoTmcUserTopicsGet(clt *core.SDKClient, req *tmc.TaobaoTmcUserTopicsGetRequest, session string) (*tmc.TaobaoTmcUserTopicsGetAPIResponse, error)
获取用户开通的topic列表 taobao.tmc.user.topics.get
获取用户开通的topic列表,授权消息使用
Types ¶
This section is empty.
Source Files ¶
- AlibabaLsyMiniappMsgPush.go
- AlipayXiaodaiUserPermit.go
- TaobaoIstoreGiftingMessageGet.go
- TaobaoTmcGroupAdd.go
- TaobaoTmcGroupDelete.go
- TaobaoTmcGroupsGet.go
- TaobaoTmcMessageProduce.go
- TaobaoTmcMessagesConfirm.go
- TaobaoTmcMessagesConsume.go
- TaobaoTmcMessagesProduce.go
- TaobaoTmcMsgSendrecord.go
- TaobaoTmcQueueGet.go
- TaobaoTmcTopicGroupAdd.go
- TaobaoTmcTopicGroupDelete.go
- TaobaoTmcUserCancel.go
- TaobaoTmcUserGet.go
- TaobaoTmcUserPermit.go
- TaobaoTmcUserTopicsGet.go