Documentation ¶
Index ¶
- func AddContactWay(params *ParamsContactWayAdd, result *ResultContactWayAdd) wx.Action
- func AddCorpTag(params *ParamsCorpTagAdd, result *ResultCorpTagAdd) wx.Action
- func AddGroupWelcomeTemplate(params *ParamsGroupWelcomeTemplateAdd, result *ResultGroupWelcomeTemplateAdd) wx.Action
- func AddInterceptRule(params *ParamsInterceptRuleAdd, result *ResultInterceptRuleAdd) wx.Action
- func AddMomentTask(params *ParamsMomentTaskAdd, result *ResultMomentTaskAdd) wx.Action
- func AddMsgTemplate(params *ParamsMsgTemplateAdd, result *ResultMsgTemplateAdd) wx.Action
- func AddProductAlbum(params *ParamsProductAlbumAdd, result *ResultProductAlbumAdd) wx.Action
- func AddStrategyTag(params *ParamsStrategyTagAdd, result *ResultStrategyTagAdd) wx.Action
- func BatchGetByUser(userIDs []string, cursor string, limit int, result *ResultBatchGetByUser) wx.Action
- func CloseTempChat(userID, externalUserID string) wx.Action
- func CreateCustomerStrategy(params *ParamsCustomerStrategyCreate, result *ResultCustomerStrategyCreate) wx.Action
- func CreateMomentStrategy(params *ParamsMomentStrategyCreate, result *ResultMomentStrategyCreate) wx.Action
- func DeleteContactWay(configID string) wx.Action
- func DeleteCorpTag(tagIDs, groupIDs []string, agentID int64) wx.Action
- func DeleteCustomerStrategy(strategyID int64) wx.Action
- func DeleteGroupWelcomeTemplate(templateID string, agentID int64) wx.Action
- func DeleteInterceptRule(ruleID string) wx.Action
- func DeleteMomentStrategy(strategyID int64) wx.Action
- func DeleteProductAlbum(productID string) wx.Action
- func DeleteStrategyTag(tagIDs, groupIDs []string) wx.Action
- func EditCorpTag(params *ParamsCorpTagEdit) wx.Action
- func EditCustomerStrategy(params *ParamsCustomerStrategyEdit) wx.Action
- func EditGroupWelcomeTemplate(params *ParamsGroupWelcomeTemplateEdit) wx.Action
- func EditMomentStrategy(params *ParamsMomentStrategyEdit) wx.Action
- func EditStrategyTag(params *ParamsStrategyTagEdit) wx.Action
- func Get(externalUserID, cursor string, result *ResultGet) wx.Action
- func GetContactWay(configID string, result *ResultContactWayGet) wx.Action
- func GetCustomerStrategy(strategyID int64, result *ResultCustomerStrategyGet) wx.Action
- func GetCustomerStrategyRange(strategyID int64, cursor string, limit int, ...) wx.Action
- func GetGroupChat(chatID string, needName int, result *ResultGroupChatGet) wx.Action
- func GetGroupChatStatistic(params *ParamsGroupChatStatistic, result *ResultGroupChatStatistic) wx.Action
- func GetGroupChatStatisticByDay(params *ParamsGroupChatStatisticByDay, result *ResultGroupChatStatisticByDay) wx.Action
- func GetGroupMsgSendResult(params *ParamsGroupMsgSendRet, result *ResultGroupMsgSendRet) wx.Action
- func GetGroupMsgTask(params *ParamsGroupMsgTask, result *ResultGroupMsgTask) wx.Action
- func GetGroupWelcomeTemplate(templateID string, result *ResultGroupWelcomeTemplateGet) wx.Action
- func GetInterceptRule(ruleID string, result *ResultInterceptRuleGet) wx.Action
- func GetMomentComments(momentID, userID, cursor string, limit int, result *ResultMomentComments) wx.Action
- func GetMomentSendResult(momentID, userID, cursor string, limit int, result *ResultMomentSendRet) wx.Action
- func GetMomentStrategy(strategyID int64, result *ResultMomentStrategyGet) wx.Action
- func GetMomentStrategyRange(strategyID int64, cursor string, limit int, result *ResultMomentStrategyRange) wx.Action
- func GetMomentTask(momentID, cursor string, limit int, result *ResultMomentTaskGet) wx.Action
- func GetMomentTaskResult(jobID string, result *ResultMomentTaskRet) wx.Action
- func GetProductAlbum(productID string, result *ResultProductAlbumGet) wx.Action
- func GetResignedTransferResult(handoverUserID, takeoverUserID, cursor string, ...) wx.Action
- func GetTransferResult(handoverUserID, takeoverUserID, cursor string, result *ResultTransferRet) wx.Action
- func GetUserBehaviorData(params *ParamsUserBehaviorData, result *ResultUserBehaviorData) wx.Action
- func List(userID string, result *ResultList) wx.Action
- func ListContactWay(params *ParamsContactWayList, result *ResultContactWayList) wx.Action
- func ListCorpTag(tagIDs, groupIDs []string, result *ResultCorpTagList) wx.Action
- func ListCustomerStrategy(cursor string, limit int, result *ResultCustomerStrategyList) wx.Action
- func ListFollowUser(result *ResultFollowUserList) wx.Action
- func ListGroupChat(params *ParamsGroupChatList, result *ResultGroupChatList) wx.Action
- func ListGroupMsg(params *ParamsGroupMsgList, result *ResultGroupMsgList) wx.Action
- func ListInterceptRule(result *ResultInterceptRuleList) wx.Action
- func ListMoment(params *ParamsMomentList, result *ResultMomentList) wx.Action
- func ListMomentCustomer(momentID, userID, cursor string, limit int, result *ResultMomentCustomerList) wx.Action
- func ListMomentStrategy(cursor string, limit int, result *ResultMomentStrategyList) wx.Action
- func ListProductAlbum(cursor string, limit int, result *ResultProductAlbumList) wx.Action
- func ListStrategyTag(strategyID int64, tagIDs, groupIDs []string, result *ResultStrategyTagList) wx.Action
- func ListUnassigned(pageID, pageSize int, cursor string, result *ResultUnassignedList) wx.Action
- func MarkTag(params *ParamsTagMark) wx.Action
- func OpenGIDToChatID(opengid string, result *ResultOpenGIDToChatID) wx.Action
- func Remark(params *ParamsRemark) wx.Action
- func SendWelcomeMsg(params *ParamsWelcomeMsgSend) wx.Action
- func TransferCustomer(params *ParamsCustomerTranster, result *ResultCustomerTransfer) wx.Action
- func TransferGroupChat(chatIDs []string, newOwner string, result *ResultGroupChatTransfer) wx.Action
- func TransferResignedCustomer(handoverUserID, takeoverUserID string, externalUserIDs []string, ...) wx.Action
- func UpdateContactWay(params *ParamsContactWayUpdate) wx.Action
- func UpdateInterceptRule(params *ParamsInterceptRuleUpdate) wx.Action
- func UpdateProductAlbum(params *ParamsProductAlbumUpdate) wx.Action
- func UploadAttachment(mediaType MediaType, attachmentType AttachmentType, attachmentPath string, ...) wx.Action
- func UploadAttachmentByURL(mediaType MediaType, attachmentType AttachmentType, filename, url string, ...) wx.Action
- type AttachmentType
- type Attr
- type AttrMinip
- type AttrText
- type AttrWeb
- type ChatType
- type Conclusions
- type ContactScene
- type ContactType
- type ContactWay
- type ContactWayListData
- type CorpTag
- type CorpTagGroup
- type CustomerBatchGetData
- type CustomerStrategy
- type CustomerStrategyListData
- type CustomerStrategyPrivilege
- type CustomerStrategyRange
- type ErrCustomerTransfer
- type ErrGroupChatTransfer
- type ExternalContact
- type ExternalProfile
- type ExtraRule
- type FollowInfo
- type FollowTag
- type FollowUser
- type GroupChat
- type GroupChatAdmin
- type GroupChatInvitor
- type GroupChatListData
- type GroupChatMember
- type GroupChatOwnerFilter
- type GroupChatStatisticByDayItem
- type GroupChatStatisticData
- type GroupChatStatisticItem
- type GroupFile
- type GroupImage
- type GroupLink
- type GroupMinip
- type GroupMsg
- type GroupMsgSendRet
- type GroupMsgTask
- type GroupText
- type GroupVideo
- type ImageConclusion
- type InterceptRule
- type LinkConclusion
- type MediaType
- type MinipConclusion
- type MomentAttachment
- type MomentCommentData
- type MomentCustomer
- type MomentExternalContactList
- type MomentImage
- type MomentInvalidExternalContactList
- type MomentInvalidSenderList
- type MomentLikeData
- type MomentLink
- type MomentListData
- type MomentLocation
- type MomentSenderList
- type MomentStrategy
- type MomentStrategyListData
- type MomentStrategyPrivilege
- type MomentStrategyRange
- type MomentTask
- type MomentTaskRet
- type MomentText
- type MomentVideo
- type MomentVisibleRange
- type MsgAttachment
- type ParamsBatchGetByUser
- type ParamsContactWayAdd
- type ParamsContactWayDelete
- type ParamsContactWayGet
- type ParamsContactWayList
- type ParamsContactWayUpdate
- type ParamsCorpTag
- type ParamsCorpTagAdd
- type ParamsCorpTagDelete
- type ParamsCorpTagEdit
- type ParamsCorpTagList
- type ParamsCustomerStrategyCreate
- type ParamsCustomerStrategyDelete
- type ParamsCustomerStrategyEdit
- type ParamsCustomerStrategyGet
- type ParamsCustomerStrategyList
- type ParamsCustomerStrategyRange
- type ParamsCustomerTranster
- type ParamsGroupChatGet
- type ParamsGroupChatList
- type ParamsGroupChatStatistic
- type ParamsGroupChatStatisticByDay
- type ParamsGroupChatTransfer
- type ParamsGroupMsgList
- type ParamsGroupMsgSendRet
- type ParamsGroupMsgTask
- type ParamsGroupWelcomeTemplateAdd
- type ParamsGroupWelcomeTemplateDelete
- type ParamsGroupWelcomeTemplateEdit
- type ParamsGroupWelcomeTemplateGet
- type ParamsInterceptRuleAdd
- type ParamsInterceptRuleDelete
- type ParamsInterceptRuleGet
- type ParamsInterceptRuleUpdate
- type ParamsMomentComments
- type ParamsMomentCustomerList
- type ParamsMomentList
- type ParamsMomentSendRet
- type ParamsMomentStrategyCreate
- type ParamsMomentStrategyDelete
- type ParamsMomentStrategyEdit
- type ParamsMomentStrategyGet
- type ParamsMomentStrategyList
- type ParamsMomentStrategyRange
- type ParamsMomentTaskAdd
- type ParamsMomentTaskGet
- type ParamsMsgTemplateAdd
- type ParamsOpenGIDToChatID
- type ParamsProductAlbumAdd
- type ParamsProductAlbumDelete
- type ParamsProductAlbumGet
- type ParamsProductAlbumList
- type ParamsProductAlbumUpdate
- type ParamsRemark
- type ParamsResignedCustomerTransfer
- type ParamsResignedTransferRet
- type ParamsStrategyTag
- type ParamsStrategyTagAdd
- type ParamsStrategyTagDelete
- type ParamsStrategyTagEdit
- type ParamsStrategyTagList
- type ParamsTagMark
- type ParamsTempChatClose
- type ParamsTransferRet
- type ParamsUnassignedList
- type ParamsUserBehaviorData
- type ParamsWelcomeMsgSend
- type ProductAlbum
- type ProductAlbumAttachment
- type ProductAlbumImage
- type ResignedTransferRet
- type ResultAttachmentUpload
- type ResultBatchGetByUser
- type ResultContactWayAdd
- type ResultContactWayGet
- type ResultContactWayList
- type ResultCorpTagAdd
- type ResultCorpTagList
- type ResultCustomerStrategyCreate
- type ResultCustomerStrategyGet
- type ResultCustomerStrategyList
- type ResultCustomerStrategyRange
- type ResultCustomerTransfer
- type ResultFollowUserList
- type ResultGet
- type ResultGroupChatGet
- type ResultGroupChatList
- type ResultGroupChatStatistic
- type ResultGroupChatStatisticByDay
- type ResultGroupChatTransfer
- type ResultGroupMsgList
- type ResultGroupMsgSendRet
- type ResultGroupMsgTask
- type ResultGroupWelcomeTemplateAdd
- type ResultGroupWelcomeTemplateGet
- type ResultInterceptRuleAdd
- type ResultInterceptRuleGet
- type ResultInterceptRuleList
- type ResultList
- type ResultMomentComments
- type ResultMomentCustomerList
- type ResultMomentList
- type ResultMomentSendRet
- type ResultMomentStrategyCreate
- type ResultMomentStrategyGet
- type ResultMomentStrategyList
- type ResultMomentStrategyRange
- type ResultMomentTaskAdd
- type ResultMomentTaskGet
- type ResultMomentTaskRet
- type ResultMsgTemplateAdd
- type ResultOpenGIDToChatID
- type ResultProductAlbumAdd
- type ResultProductAlbumGet
- type ResultProductAlbumList
- type ResultResignedCustomerTransfer
- type ResultResignedTransferRet
- type ResultStrategyTagAdd
- type ResultStrategyTagList
- type ResultTransferRet
- type ResultUnassignedList
- type ResultUserBehaviorData
- type RuleApplicableRange
- type RuleListData
- type StrategyTag
- type StrategyTagGroup
- type TextConclusion
- type TransferRet
- type UnassignedInfo
- type UserBehaviorData
- type WechatChannels
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddContactWay ¶
func AddContactWay(params *ParamsContactWayAdd, result *ResultContactWayAdd) wx.Action
AddContactWay 配置客户联系「联系我」方式
func AddCorpTag ¶
func AddCorpTag(params *ParamsCorpTagAdd, result *ResultCorpTagAdd) wx.Action
AddCorpTag 添加企业客户标签
func AddGroupWelcomeTemplate ¶
func AddGroupWelcomeTemplate(params *ParamsGroupWelcomeTemplateAdd, result *ResultGroupWelcomeTemplateAdd) wx.Action
AddGroupWelcomeTemplate 添加入群欢迎语素材
func AddInterceptRule ¶
func AddInterceptRule(params *ParamsInterceptRuleAdd, result *ResultInterceptRuleAdd) wx.Action
AddInterceptRule 新建敏感词规则
func AddMomentTask ¶
func AddMomentTask(params *ParamsMomentTaskAdd, result *ResultMomentTaskAdd) wx.Action
AddMomentTask 创建客户朋友圈的发表任务
func AddMsgTemplate ¶
func AddMsgTemplate(params *ParamsMsgTemplateAdd, result *ResultMsgTemplateAdd) wx.Action
AddMsgTemplate 创建企业群发
func AddProductAlbum ¶
func AddProductAlbum(params *ParamsProductAlbumAdd, result *ResultProductAlbumAdd) wx.Action
AddProductAlbum 创建商品图册
func AddStrategyTag ¶
func AddStrategyTag(params *ParamsStrategyTagAdd, result *ResultStrategyTagAdd) wx.Action
AddStrategyTag 为指定规则组创建企业客户标签
func BatchGetByUser ¶
func BatchGetByUser(userIDs []string, cursor string, limit int, result *ResultBatchGetByUser) wx.Action
BatchGetByUser 批量获取客户详情
func CloseTempChat ¶
CloseTempChat 结束临时会话
func CreateCustomerStrategy ¶
func CreateCustomerStrategy(params *ParamsCustomerStrategyCreate, result *ResultCustomerStrategyCreate) wx.Action
CreateCustomerStrategy 创建新的客户联系规则组
func CreateMomentStrategy ¶
func CreateMomentStrategy(params *ParamsMomentStrategyCreate, result *ResultMomentStrategyCreate) wx.Action
CreateMomentStrategy 创建新的客户朋友圈规则组
func DeleteContactWay ¶
DeleteContactWay 删除企业已配置的「联系我」方式
func DeleteCorpTag ¶
DeleteCorpTag 删除企业客户标签
func DeleteCustomerStrategy ¶
DeleteCustomerStrategy 删除客户联系规则组
func DeleteGroupWelcomeTemplate ¶
DeleteGroupWelcomeTemplate 删除入群欢迎语素材
func DeleteInterceptRule ¶
DeleteInterceptRule 删除敏感词规则
func DeleteMomentStrategy ¶
DeleteMomentStrategy 删除客户朋友圈规则组
func DeleteProductAlbum ¶
DeleteProductAlbum 删除商品图册
func DeleteStrategyTag ¶
DeleteStrategyTag 删除指定规则组下的企业客户标签
func EditCustomerStrategy ¶
func EditCustomerStrategy(params *ParamsCustomerStrategyEdit) wx.Action
EditCustomerStrategy 编辑客户联系规则组及其管理范围
func EditGroupWelcomeTemplate ¶
func EditGroupWelcomeTemplate(params *ParamsGroupWelcomeTemplateEdit) wx.Action
EditGroupWelcomeTemplate 编辑入群欢迎语素材
func EditMomentStrategy ¶
func EditMomentStrategy(params *ParamsMomentStrategyEdit) wx.Action
EditMomentStrategy 编辑客户朋友圈规则组及其管理范围
func EditStrategyTag ¶
func EditStrategyTag(params *ParamsStrategyTagEdit) wx.Action
EditStrategyTag 编辑指定规则组下的企业客户标签
func GetContactWay ¶
func GetContactWay(configID string, result *ResultContactWayGet) wx.Action
GetContactWay 获取企业已配置的「联系我」方式
func GetCustomerStrategy ¶
func GetCustomerStrategy(strategyID int64, result *ResultCustomerStrategyGet) wx.Action
GetCustomerStrategy 获取客户联系规则组详情
func GetCustomerStrategyRange ¶
func GetCustomerStrategyRange(strategyID int64, cursor string, limit int, result *ResultCustomerStrategyRange) wx.Action
GetCustomerStrategyRange 获取客户联系规则组管理范围
func GetGroupChat ¶
func GetGroupChat(chatID string, needName int, result *ResultGroupChatGet) wx.Action
GetGroupChat 获取客户群详情
func GetGroupChatStatistic ¶
func GetGroupChatStatistic(params *ParamsGroupChatStatistic, result *ResultGroupChatStatistic) wx.Action
GetGroupChatStatistic 获取「群聊数据统计」数据(注意,企业微信仅存储180天的数据)
func GetGroupChatStatisticByDay ¶
func GetGroupChatStatisticByDay(params *ParamsGroupChatStatisticByDay, result *ResultGroupChatStatisticByDay) wx.Action
func GetGroupMsgSendResult ¶
func GetGroupMsgSendResult(params *ParamsGroupMsgSendRet, result *ResultGroupMsgSendRet) wx.Action
GetGroupMsgSendResult 获取企业群发成员执行结果
func GetGroupMsgTask ¶
func GetGroupMsgTask(params *ParamsGroupMsgTask, result *ResultGroupMsgTask) wx.Action
GetGroupMsgTask 获取群发成员发送任务列表
func GetGroupWelcomeTemplate ¶
func GetGroupWelcomeTemplate(templateID string, result *ResultGroupWelcomeTemplateGet) wx.Action
GetGroupWelcomeTemplate 获取入群欢迎语素材
func GetInterceptRule ¶
func GetInterceptRule(ruleID string, result *ResultInterceptRuleGet) wx.Action
GetInterceptRule 获取敏感词规则详情
func GetMomentComments ¶
func GetMomentComments(momentID, userID, cursor string, limit int, result *ResultMomentComments) wx.Action
GetMomentComments 获取客户朋友圈的互动数据
func GetMomentSendResult ¶
func GetMomentSendResult(momentID, userID, cursor string, limit int, result *ResultMomentSendRet) wx.Action
GetMomentSendResult 获取客户朋友圈发表后的可见客户列表
func GetMomentStrategy ¶
func GetMomentStrategy(strategyID int64, result *ResultMomentStrategyGet) wx.Action
GetMomentStrategy 获取客户朋友圈规则组详情
func GetMomentStrategyRange ¶
func GetMomentStrategyRange(strategyID int64, cursor string, limit int, result *ResultMomentStrategyRange) wx.Action
GetMomentStrategyRange 获取客户朋友圈规则组管理范围
func GetMomentTask ¶
func GetMomentTask(momentID, cursor string, limit int, result *ResultMomentTaskGet) wx.Action
GetMomentTask 获取客户朋友圈企业发表的列表
func GetMomentTaskResult ¶
func GetMomentTaskResult(jobID string, result *ResultMomentTaskRet) wx.Action
GetMomentTaskResult 获取客户朋友圈的任务创建结果
func GetProductAlbum ¶
func GetProductAlbum(productID string, result *ResultProductAlbumGet) wx.Action
GetProductAlbum 获取商品图册
func GetResignedTransferResult ¶
func GetResignedTransferResult(handoverUserID, takeoverUserID, cursor string, result *ResultResignedTransferRet) wx.Action
GetResignedTransferResult 查询客户接替状态
func GetTransferResult ¶
func GetTransferResult(handoverUserID, takeoverUserID, cursor string, result *ResultTransferRet) wx.Action
GetTransferResult 查询客户接替状态
func GetUserBehaviorData ¶
func GetUserBehaviorData(params *ParamsUserBehaviorData, result *ResultUserBehaviorData) wx.Action
GetUserBehaviorData 获取「联系客户统计」数据
func ListContactWay ¶
func ListContactWay(params *ParamsContactWayList, result *ResultContactWayList) wx.Action
ListContactWay 获取企业已配置的「联系我」列表
func ListCorpTag ¶
func ListCorpTag(tagIDs, groupIDs []string, result *ResultCorpTagList) wx.Action
ListCorpTag 获取企业标签库
func ListCustomerStrategy ¶
func ListCustomerStrategy(cursor string, limit int, result *ResultCustomerStrategyList) wx.Action
ListCustomerStrategy 获取客户联系规则组列表
func ListFollowUser ¶
func ListFollowUser(result *ResultFollowUserList) wx.Action
ListFollowUser 获取配置了客户联系功能的成员列表
func ListGroupChat ¶
func ListGroupChat(params *ParamsGroupChatList, result *ResultGroupChatList) wx.Action
ListGroupChat 获取客户群列表
func ListGroupMsg ¶
func ListGroupMsg(params *ParamsGroupMsgList, result *ResultGroupMsgList) wx.Action
ListGroupMsg 获取群发记录列表
func ListInterceptRule ¶
func ListInterceptRule(result *ResultInterceptRuleList) wx.Action
ListInterceptRule 获取敏感词规则列表
func ListMoment ¶
func ListMoment(params *ParamsMomentList, result *ResultMomentList) wx.Action
ListMoment 获取企业全部的发表列表
func ListMomentCustomer ¶
func ListMomentCustomer(momentID, userID, cursor string, limit int, result *ResultMomentCustomerList) wx.Action
ListMomentCustomer 获取客户朋友圈发表时选择的可见范围
func ListMomentStrategy ¶
func ListMomentStrategy(cursor string, limit int, result *ResultMomentStrategyList) wx.Action
ListMomentStrategy 获取客户朋友圈规则组列表
func ListProductAlbum ¶
func ListProductAlbum(cursor string, limit int, result *ResultProductAlbumList) wx.Action
ListProductAlbum 获取商品图册列表
func ListStrategyTag ¶
func ListStrategyTag(strategyID int64, tagIDs, groupIDs []string, result *ResultStrategyTagList) wx.Action
ListStrategyTag 获取指定规则组下的企业客户标签
func ListUnassigned ¶
func ListUnassigned(pageID, pageSize int, cursor string, result *ResultUnassignedList) wx.Action
ListUnassigned 获取待分配的离职成员列表
func OpenGIDToChatID ¶
func OpenGIDToChatID(opengid string, result *ResultOpenGIDToChatID) wx.Action
OpenGIDToChatID 客户群opengid转换
func SendWelcomeMsg ¶
func SendWelcomeMsg(params *ParamsWelcomeMsgSend) wx.Action
SendWelcomeMsg 发送新客户欢迎语
func TransferCustomer ¶
func TransferCustomer(params *ParamsCustomerTranster, result *ResultCustomerTransfer) wx.Action
TransferCustomer 分配在职成员的客户
func TransferGroupChat ¶
func TransferGroupChat(chatIDs []string, newOwner string, result *ResultGroupChatTransfer) wx.Action
TransferGroupChat 分配离职成员的客户群
func TransferResignedCustomer ¶
func TransferResignedCustomer(handoverUserID, takeoverUserID string, externalUserIDs []string, result *ResultResignedCustomerTransfer) wx.Action
TransferResignedCustomer 分配离职成员的客户
func UpdateContactWay ¶
func UpdateContactWay(params *ParamsContactWayUpdate) wx.Action
UpdateContactWay 更新企业已配置的「联系我」方式
func UpdateInterceptRule ¶
func UpdateInterceptRule(params *ParamsInterceptRuleUpdate) wx.Action
UpdateInterceptRule 修改敏感词规则
func UpdateProductAlbum ¶
func UpdateProductAlbum(params *ParamsProductAlbumUpdate) wx.Action
UpdateProductAlbum 编辑商品图册
func UploadAttachment ¶
func UploadAttachment(mediaType MediaType, attachmentType AttachmentType, attachmentPath string, result *ResultAttachmentUpload) wx.Action
UploadAttachment 上传附件资源
func UploadAttachmentByURL ¶
func UploadAttachmentByURL(mediaType MediaType, attachmentType AttachmentType, filename, url string, result *ResultAttachmentUpload) wx.Action
UploadAttachmentByURL 上传附件资源
Types ¶
type AttachmentType ¶
type AttachmentType int
const ( AttachmentMoment AttachmentType = 1 // 朋友圈 AttachmentProductAlbum AttachmentType = 2 // 商品相册 )
type Conclusions ¶
type Conclusions struct { Text *TextConclusion `json:"text,omitempty"` Image *ImageConclusion `json:"image,omitempty"` Link *LinkConclusion `json:"link,omitempty"` Minip *MinipConclusion `json:"miniprogram,omitempty"` }
type ContactScene ¶
type ContactScene int
const ( ContactMinip ContactScene = 1 ContactQRCode ContactScene = 2 )
type ContactType ¶
type ContactType int
const ( ContactSingle ContactType = 1 ContactMulti ContactType = 2 )
type ContactWay ¶
type ContactWay struct { ConfigID string `json:"config_id"` Type ContactType `json:"type"` Scene ContactScene `json:"scene"` Style int `json:"style"` Remark string `json:"remark"` SkipVerify bool `json:"skip_verify"` State string `json:"state"` QRCode string `json:"qr_code"` User []string `json:"user"` Party []int64 `json:"party"` IsTemp bool `json:"is_temp"` ExpiresIn int `json:"expires_in"` ChatExpiresIn int `json:"chat_expires_in"` UnionID string `json:"unionid"` Conclusions *Conclusions `json:"conclusions"` }
type ContactWayListData ¶
type ContactWayListData struct {
ConfigID string `json:"config_id"`
}
type CorpTagGroup ¶
type CustomerBatchGetData ¶
type CustomerBatchGetData struct { ExternalContact *ExternalContact `json:"external_contact"` FollowInfo *FollowInfo `json:"follow_info"` }
type CustomerStrategy ¶
type CustomerStrategyListData ¶
type CustomerStrategyListData struct {
StrategyID int64 `json:"strategy_id"`
}
type CustomerStrategyPrivilege ¶
type CustomerStrategyPrivilege struct { ViewCustomerList bool `json:"view_customer_list"` ViewCustomerData bool `json:"view_customer_data"` ViewRoomList bool `json:"view_room_list"` ContactMe bool `json:"contact_me"` JoinRoom bool `json:"join_room"` OperResignCustomer bool `json:"oper_resign_customer"` OperResignGroup bool `json:"oper_resign_group"` SendCustomerMsg bool `json:"send_customer_msg"` EditWelcomeMsg bool `json:"edit_welcome_msg"` ViewBehaviorData bool `json:"view_behavior_data"` ViewRoomData bool `json:"view_room_data"` SendGroupMsg bool `json:"send_group_msg"` RoomDeduplication bool `json:"room_deduplication"` RapidReply bool `json:"rapid_reply"` OnjobCustomerTransfer bool `json:"onjob_customer_transfer"` EditAntiSpamRule bool `json:"edit_anti_spam_rule"` ExportCustomerList bool `json:"export_customer_list"` ExportCustomerData bool `json:"export_customer_data"` ExportCustomerGroupList bool `json:"export_customer_group_list"` ManageCustomerTag bool `json:"manage_customer_tag"` }
type CustomerStrategyRange ¶
type ErrCustomerTransfer ¶
type ErrGroupChatTransfer ¶
type ExternalContact ¶
type ExternalContact struct { ExternalUserID string `json:"external_userid"` Name string `json:"name"` Position string `json:"position"` Avatar string `json:"avatar"` CorpName string `json:"corp_name"` CorpFullName string `json:"corp_full_name"` Type int `json:"type"` Gender int `json:"gender"` UnionID string `json:"unionid"` ExternalProfile *ExternalProfile `json:"external_profile"` }
type ExternalProfile ¶
type ExternalProfile struct { ExternalCorpName string `json:"external_corp_name"` WechatChannels *WechatChannels `json:"wechat_channels"` ExternalAttr []*Attr `json:"external_attr"` }
type FollowInfo ¶
type FollowInfo struct { UserID string `json:"userid"` Remark string `json:"remark"` Description string `json:"description"` CreateTime int64 `json:"createtime"` TagID []string `json:"tag_id"` RemarkCorpName string `json:"remark_corp_name"` RemarkMobiles []string `json:"remark_mobiles"` State string `json:"state"` OperUserID string `json:"oper_userid"` AddWay int `json:"add_way"` }
type FollowUser ¶
type FollowUser struct { UserID string `json:"userid"` Remark string `json:"remark"` Description string `json:"description"` CreateTime int64 `json:"createtime"` RemarkCorpName string `json:"remark_corp_name"` RemarkMobiles []string `json:"remark_mobiles"` OperUserID string `json:"oper_userid"` AddWay int `json:"add_way"` State string `json:"state"` Tags []*FollowTag `json:"tags"` }
type GroupChat ¶
type GroupChat struct { ChatID string `json:"chat_id"` Name string `json:"name"` Owner string `json:"owner"` CreateTime int64 `json:"create_time"` Notice string `json:"notice"` MemberList []*GroupChatMember `json:"member_list"` AdminList []*GroupChatAdmin `json:"admin_list"` }
type GroupChatAdmin ¶
type GroupChatAdmin struct {
UserID string `json:"userid"`
}
type GroupChatInvitor ¶
type GroupChatInvitor struct {
UserID string `json:"userid"`
}
type GroupChatListData ¶
type GroupChatMember ¶
type GroupChatMember struct { UserID string `json:"userid"` Type int64 `json:"type"` Unionid string `json:"unionid"` JoinTime int64 `json:"join_time"` JoinScene int64 `json:"join_scene"` Invitor *GroupChatInvitor `json:"invitor"` GroupNickname string `json:"group_nickname"` Name string `json:"name"` }
type GroupChatOwnerFilter ¶
type GroupChatOwnerFilter struct {
UserIDList []string `json:"userid_list"`
}
type GroupChatStatisticByDayItem ¶
type GroupChatStatisticByDayItem struct { StatTime int64 `json:"stat_time"` Data *GroupChatStatisticData `json:"data"` }
type GroupChatStatisticData ¶
type GroupChatStatisticData struct { NewChatCnt int `json:"new_chat_cnt"` ChatTotal int `json:"chat_total"` ChatHasMsg int `json:"chat_has_msg"` NewMemberCnt int `json:"new_member_cnt"` MemberTotal int `json:"member_total"` MemberHasMsg int `json:"member_has_msg"` MsgTotal int `json:"msg_total"` MigrateTraineeChatCnt int `json:"migrate_trainee_chat_cnt"` }
type GroupChatStatisticItem ¶
type GroupChatStatisticItem struct { Owner string `json:"owner"` Data *GroupChatStatisticData `json:"data"` }
type GroupImage ¶
type GroupMinip ¶
type GroupMsgSendRet ¶
type GroupMsgTask ¶
type GroupVideo ¶
type GroupVideo struct {
MediaID string `json:"media_id"`
}
type ImageConclusion ¶
type InterceptRule ¶
type LinkConclusion ¶
type MinipConclusion ¶
type MomentAttachment ¶
type MomentAttachment struct { MsgType event.MsgType `json:"msgtype"` Image *MomentImage `json:"image,omitempty"` Video *MomentVideo `json:"video,omitempty"` Link *MomentLink `json:"link,omitempty"` }
type MomentCommentData ¶
type MomentCustomer ¶
type MomentExternalContactList ¶
type MomentExternalContactList struct {
TagList []string `json:"tag_list,omitempty"`
}
type MomentImage ¶
type MomentImage struct {
MediaID string `json:"media_id"`
}
type MomentInvalidExternalContactList ¶
type MomentInvalidExternalContactList struct {
TagList []string `json:"tag_list"`
}
type MomentInvalidSenderList ¶
type MomentLikeData ¶
type MomentLink ¶
type MomentListData ¶
type MomentListData struct { MomentID string `json:"moment_id"` Creator string `json:"creator"` CreateTime string `json:"create_time"` CreateType int `json:"create_type"` VisibleType int `json:"visible_type"` Text *MomentText `json:"text"` Image []*MomentImage `json:"image"` Video *MomentVideo `json:"video"` Link *MomentLink `json:"link"` Location *MomentLocation `json:"location"` }
type MomentLocation ¶
type MomentSenderList ¶
type MomentStrategy ¶
type MomentStrategyListData ¶
type MomentStrategyListData struct {
StrategyID int64 `json:"strategy_id"`
}
type MomentStrategyPrivilege ¶
type MomentStrategyRange ¶
type MomentTask ¶
type MomentTaskRet ¶
type MomentTaskRet struct { ErrCode int `json:"errcode"` ErrMsg string `json:"errmsg"` MomentID string `json:"moment_id"` InvalidSenderList *MomentInvalidSenderList `json:"invalid_sender_list"` InvalidExternalContactList *MomentInvalidExternalContactList `json:"invalid_external_contact_list"` }
type MomentText ¶
type MomentText struct {
Content string `json:"content,omitempty"`
}
type MomentVideo ¶
type MomentVisibleRange ¶
type MomentVisibleRange struct { SenderList *MomentSenderList `json:"sender_list,omitempty"` ExternalContactList *MomentExternalContactList `json:"external_contact_list,omitempty"` }
type MsgAttachment ¶
type MsgAttachment struct { MsgType event.MsgType `json:"msgtype"` Image *GroupImage `json:"image,omitempty"` Link *GroupLink `json:"link,omitempty"` Minip *GroupMinip `json:"miniprogram,omitempty"` Video *GroupVideo `json:"video,omitempty"` File *GroupFile `json:"file,omitempty"` }
type ParamsBatchGetByUser ¶
type ParamsContactWayAdd ¶
type ParamsContactWayAdd struct { Type ContactType `json:"type,omitempty"` Scene ContactScene `json:"scene,omitempty"` Style int `json:"style,omitempty"` Remark string `json:"remark,omitempty"` SkipVerify bool `json:"skip_verify,omitempty"` State string `json:"state,omitempty"` User []string `json:"user,omitempty"` Party []int64 `json:"party,omitempty"` IsTemp bool `json:"is_temp,omitempty"` ExpiresIn int `json:"expires_in,omitempty"` ChatExpiresIn int `json:"chat_expires_in,omitempty"` UnionID string `json:"unionid,omitempty"` Conclusions *Conclusions `json:"conclusions,omitempty"` }
type ParamsContactWayDelete ¶
type ParamsContactWayDelete struct {
ConfigID string `json:"config_id"`
}
type ParamsContactWayGet ¶
type ParamsContactWayGet struct {
ConfigID string `json:"config_id"`
}
type ParamsContactWayList ¶
type ParamsContactWayUpdate ¶
type ParamsContactWayUpdate struct { ConfigID string `json:"config_id"` Remark string `json:"remark,omitempty"` SkipVerify bool `json:"skip_verify,omitempty"` Style int `json:"style,omitempty"` State string `json:"state,omitempty"` User []string `json:"user,omitempty"` Party []int64 `json:"party,omitempty"` ExpiresIn int `json:"expires_in,omitempty"` ChatExpiresIn int `json:"chat_expires_in,omitempty"` UnionID string `json:"unionid,omitempty"` Conclusions *Conclusions `json:"conclusions,omitempty"` }
type ParamsCorpTag ¶
type ParamsCorpTagAdd ¶
type ParamsCorpTagAdd struct { GroupID string `json:"group_id,omitempty"` GroupName string `json:"group_name,omitempty"` Order int `json:"order,omitempty"` Tag []*ParamsCorpTag `json:"tag"` AgentID int64 `json:"agentid,omitempty"` }
type ParamsCorpTagDelete ¶
type ParamsCorpTagEdit ¶
type ParamsCorpTagList ¶
type ParamsCustomerStrategyCreate ¶
type ParamsCustomerStrategyCreate struct { ParentID int64 `json:"parent_id,omitempty"` StrategyName string `json:"strategy_name"` AdminList []string `json:"admin_list"` Privilege *CustomerStrategyPrivilege `json:"privilege"` Range []*CustomerStrategyRange `json:"range"` }
type ParamsCustomerStrategyDelete ¶
type ParamsCustomerStrategyDelete struct {
StrategyID int64 `json:"strategy_id"`
}
type ParamsCustomerStrategyEdit ¶
type ParamsCustomerStrategyEdit struct { StrategyID int64 `json:"strategy_id"` StrategyName string `json:"strategy_name,omitempty"` AdminList []string `json:"admin_list,omitempty"` Privilege *CustomerStrategyPrivilege `json:"privilege,omitempty"` RangeAdd []*CustomerStrategyRange `json:"range_add,omitempty"` RangeDel []*CustomerStrategyRange `json:"range_del,omitempty"` }
type ParamsCustomerStrategyGet ¶
type ParamsCustomerStrategyGet struct {
StrategyID int64 `json:"strategy_id"`
}
type ParamsCustomerTranster ¶
type ParamsGroupChatGet ¶
type ParamsGroupChatList ¶
type ParamsGroupChatList struct { StatusFilter int `json:"status_filter,omitempty"` OwnerFilter *GroupChatOwnerFilter `json:"owner_filter,omitempty"` Cursor string `json:"cursor,omitempty"` Limit int `json:"limit"` }
type ParamsGroupChatStatistic ¶
type ParamsGroupChatStatistic struct { DayBeginTime int64 `json:"day_begin_time"` DayEndTime int64 `json:"day_end_time,omitempty"` OwnerFilter *GroupChatOwnerFilter `json:"owner_filter"` OrderBy int `json:"order_by,omitempty"` OrderAsc int `json:"order_asc,omitempty"` Offset int `json:"offset,omitempty"` Limit int `json:"limit,omitempty"` }
type ParamsGroupChatStatisticByDay ¶
type ParamsGroupChatStatisticByDay struct { DayBeginTime int64 `json:"day_begin_time"` DayEndTime int64 `json:"day_end_time,omitempty"` OwnerFilter *GroupChatOwnerFilter `json:"owner_filter"` }
type ParamsGroupChatTransfer ¶
type ParamsGroupMsgList ¶
type ParamsGroupMsgList struct { ChatType ChatType `json:"chat_type"` StartTime int64 `json:"start_time"` EndTime int64 `json:"end_time"` Creator string `json:"creator,omitempty"` FilterType int `json:"filter_type,omitempty"` Limit int `json:"limit,omitempty"` Cursor string `json:"cursor,omitempty"` }
type ParamsGroupMsgSendRet ¶
type ParamsGroupMsgTask ¶
type ParamsGroupWelcomeTemplateAdd ¶
type ParamsGroupWelcomeTemplateAdd struct { Text *GroupText `json:"text,omitempty"` Image *GroupImage `json:"image,omitempty"` Link *GroupLink `json:"link,omitempty"` Minip *GroupMinip `json:"miniprogram,omitempty"` File *GroupFile `json:"file,omitempty"` Video *GroupVideo `json:"video,omitempty"` AgentID int64 `json:"agentid,omitempty"` Notify int `json:"notify,omitempty"` }
type ParamsGroupWelcomeTemplateEdit ¶
type ParamsGroupWelcomeTemplateEdit struct { TemplateID string `json:"template_id"` Text *GroupText `json:"text,omitempty"` Image *GroupImage `json:"image,omitempty"` Link *GroupLink `json:"link,omitempty"` Minip *GroupMinip `json:"miniprogram,omitempty"` File *GroupFile `json:"file,omitempty"` Video *GroupVideo `json:"video,omitempty"` AgentID int64 `json:"agentid,omitempty"` }
type ParamsGroupWelcomeTemplateGet ¶
type ParamsGroupWelcomeTemplateGet struct {
TemplateID string `json:"template_id"`
}
type ParamsInterceptRuleAdd ¶
type ParamsInterceptRuleAdd struct { RuleName string `json:"rule_name"` WordList []string `json:"word_list"` SemanticsList []int `json:"semantics_list,omitempty"` InterceptType int `json:"intercept_type"` ApplicableRange *RuleApplicableRange `json:"applicable_range"` }
type ParamsInterceptRuleDelete ¶
type ParamsInterceptRuleDelete struct {
RuleID string `json:"rule_id"`
}
type ParamsInterceptRuleGet ¶
type ParamsInterceptRuleGet struct {
RuleID string `json:"rule_id"`
}
type ParamsInterceptRuleUpdate ¶
type ParamsInterceptRuleUpdate struct { RuleID string `json:"rule_id"` RuleName string `json:"rule_name,omitempty"` WordList []string `json:"word_list,omitempty"` ExtraRule *ExtraRule `json:"extra_rule,omitempty"` InterceptType int `json:"intercept_type,omitempty"` AddApplicableRange *RuleApplicableRange `json:"add_applicable_range,omitempty"` RemoveApplicableRange *RuleApplicableRange `json:"remove_applicable_range,omitempty"` }
type ParamsMomentComments ¶
type ParamsMomentList ¶
type ParamsMomentSendRet ¶
type ParamsMomentStrategyCreate ¶
type ParamsMomentStrategyCreate struct { ParentID int64 `json:"parent_id,omitempty"` StrategyName string `json:"strategy_name"` AdminList []string `json:"admin_list"` Privilege *MomentStrategyPrivilege `json:"privilege"` Range []*MomentStrategyRange `json:"range"` }
type ParamsMomentStrategyDelete ¶
type ParamsMomentStrategyDelete struct {
StrategyID int64 `json:"strategy_id"`
}
type ParamsMomentStrategyEdit ¶
type ParamsMomentStrategyEdit struct { StrategyID int64 `json:"strategy_id"` StrategyName string `json:"strategy_name,omitempty"` AdminList []string `json:"admin_list,omitempty"` Privilege *MomentStrategyPrivilege `json:"privilege,omitempty"` RangeAdd []*MomentStrategyRange `json:"range_add,omitempty"` RangeDel []*MomentStrategyRange `json:"range_del,omitempty"` }
type ParamsMomentStrategyGet ¶
type ParamsMomentStrategyGet struct {
StrategyID int64 `json:"strategy_id"`
}
type ParamsMomentTaskAdd ¶
type ParamsMomentTaskAdd struct { Text *MomentText `json:"text,omitempty"` Attachments []*MomentAttachment `json:"attachments,omitempty"` VisibleRange *MomentVisibleRange `json:"visible_range,omitempty"` }
type ParamsMomentTaskGet ¶
type ParamsMsgTemplateAdd ¶
type ParamsMsgTemplateAdd struct { ChatType ChatType `json:"chat_type,omitempty"` ExternalUserID []string `json:"external_userid,omitempty"` Sender string `json:"sender,omitempty"` Text *GroupText `json:"text,omitempty"` Attachments []*MsgAttachment `json:"attachments,omitempty"` }
type ParamsOpenGIDToChatID ¶
type ParamsOpenGIDToChatID struct {
OpenGID string `json:"opengid"`
}
type ParamsProductAlbumAdd ¶
type ParamsProductAlbumAdd struct { Description string `json:"description"` Price int `json:"price"` ProductSN string `json:"product_sn,omitempty"` Attachments []*ProductAlbumAttachment `json:"attachments"` }
type ParamsProductAlbumDelete ¶
type ParamsProductAlbumDelete struct {
ProductID string `json:"product_id"`
}
type ParamsProductAlbumGet ¶
type ParamsProductAlbumGet struct {
ProductID string `json:"product_id"`
}
type ParamsProductAlbumList ¶
type ParamsProductAlbumUpdate ¶
type ParamsProductAlbumUpdate struct { ProductID string `json:"product_id"` Description string `json:"description"` Price int `json:"price"` ProductSN string `json:"product_sn,omitempty"` Attachments []*ProductAlbumAttachment `json:"attachments,omitempty"` }
type ParamsRemark ¶
type ParamsRemark struct { UserID string `json:"userid"` ExternalUserID string `json:"external_userid"` Remark string `json:"remark"` Description string `json:"description"` RemarkCompany string `json:"remark_company"` RemarkMobiles []string `json:"remark_mobiles"` RemarkPicMediaID string `json:"remark_pic_mediaid"` }
type ParamsStrategyTag ¶
type ParamsStrategyTagAdd ¶
type ParamsStrategyTagAdd struct { StrategyID int64 `json:"strategy_id,omitempty"` GroupID string `json:"group_id"` GroupName string `json:"group_name"` Order uint32 `json:"order"` Tag []*ParamsStrategyTag `json:"tag"` }
type ParamsStrategyTagDelete ¶
type ParamsStrategyTagEdit ¶
type ParamsStrategyTagList ¶
type ParamsTagMark ¶
type ParamsTempChatClose ¶
type ParamsTransferRet ¶
type ParamsUnassignedList ¶
type ParamsUserBehaviorData ¶
type ParamsWelcomeMsgSend ¶
type ParamsWelcomeMsgSend struct { WelcomeCode string `json:"welcome_code"` Text *GroupText `json:"text,omitempty"` Attachments []*MsgAttachment `json:"attachments,omitempty"` }
type ProductAlbum ¶
type ProductAlbumAttachment ¶
type ProductAlbumAttachment struct { Type MediaType `json:"type"` // 附件类型,目前仅支持image Image *ProductAlbumImage `json:"image"` }
type ProductAlbumImage ¶
type ProductAlbumImage struct {
MediaID string `json:"media_id,omitempty"`
}
type ResignedTransferRet ¶
type ResultAttachmentUpload ¶
type ResultBatchGetByUser ¶
type ResultBatchGetByUser struct { ExternalContactList []*CustomerBatchGetData `json:"external_contact_list"` NextCursor string `json:"next_cursor"` }
type ResultContactWayAdd ¶
type ResultContactWayGet ¶
type ResultContactWayGet struct {
ContactWay *ContactWay `json:"contact_way"`
}
type ResultContactWayList ¶
type ResultContactWayList struct { ContactWay []*ContactWayListData `json:"contact_way"` NextCursor string `json:"next_cursor"` }
type ResultCorpTagAdd ¶
type ResultCorpTagAdd struct {
TagGroup *CorpTagGroup `json:"tag_group"`
}
type ResultCorpTagList ¶
type ResultCorpTagList struct {
TagGroup []*CorpTagGroup `json:"tag_group"`
}
type ResultCustomerStrategyCreate ¶
type ResultCustomerStrategyCreate struct {
StrategyID int64 `json:"strategy_id"`
}
type ResultCustomerStrategyGet ¶
type ResultCustomerStrategyGet struct {
Strategy *CustomerStrategy `json:"strategy"`
}
type ResultCustomerStrategyList ¶
type ResultCustomerStrategyList struct { Strategy []*CustomerStrategyListData `json:"strategy"` NextCursor string `json:"next_cursor"` }
type ResultCustomerStrategyRange ¶
type ResultCustomerStrategyRange struct {
Range []*CustomerStrategyRange `json:"range"`
}
type ResultCustomerTransfer ¶
type ResultCustomerTransfer struct {
Customer []*ErrCustomerTransfer `json:"customer"`
}
type ResultFollowUserList ¶
type ResultFollowUserList struct {
FollowUser []string `json:"follow_user"`
}
type ResultGet ¶
type ResultGet struct { ExternalContact *ExternalContact `json:"external_contact"` FollowUser []*FollowUser `json:"follow_user"` NextCursor string `json:"next_cursor"` }
type ResultGroupChatGet ¶
type ResultGroupChatGet struct {
GroupChat *GroupChat `json:"group_chat"`
}
type ResultGroupChatList ¶
type ResultGroupChatList struct { GroupChatList []*GroupChatListData `json:"group_chat_list"` NextCursor string `json:"next_cursor"` }
type ResultGroupChatStatistic ¶
type ResultGroupChatStatistic struct { Total int `json:"total"` NextOffset int `json:"next_offset"` Items []*GroupChatStatisticItem `json:"items"` }
type ResultGroupChatStatisticByDay ¶
type ResultGroupChatStatisticByDay struct {
Items []*GroupChatStatisticByDayItem `json:"items"`
}
type ResultGroupChatTransfer ¶
type ResultGroupChatTransfer struct {
FailedChatList []*ErrGroupChatTransfer `json:"failed_chat_list"`
}
type ResultGroupMsgList ¶
type ResultGroupMsgSendRet ¶
type ResultGroupMsgSendRet struct { NextCursor string `json:"next_cursor"` SendList []*GroupMsgSendRet `json:"send_list"` }
type ResultGroupMsgTask ¶
type ResultGroupMsgTask struct { NextCursor string `json:"next_cursor"` TaskList []*GroupMsgTask `json:"task_list"` }
type ResultGroupWelcomeTemplateAdd ¶
type ResultGroupWelcomeTemplateAdd struct {
TemplateID string `json:"template_id"`
}
type ResultGroupWelcomeTemplateGet ¶
type ResultGroupWelcomeTemplateGet struct { Text *GroupText `json:"text"` Image *GroupImage `json:"image"` Link *GroupLink `json:"link"` Minip *GroupMinip `json:"miniprogram"` File *GroupFile `json:"file"` Video *GroupVideo `json:"video"` }
type ResultInterceptRuleAdd ¶
type ResultInterceptRuleAdd struct {
RuleID string `json:"rule_id"`
}
type ResultInterceptRuleGet ¶
type ResultInterceptRuleGet struct {
Rule *InterceptRule `json:"rule"`
}
type ResultInterceptRuleList ¶
type ResultInterceptRuleList struct {
RuleList []*RuleListData `json:"rule_list"`
}
type ResultList ¶
type ResultList struct {
ExternalUserID []string `json:"external_userid"`
}
type ResultMomentComments ¶
type ResultMomentComments struct { CommentList []*MomentCommentData `json:"comment_list"` LikeList []*MomentLikeData `json:"like_list"` }
type ResultMomentCustomerList ¶
type ResultMomentCustomerList struct { NextCursor string `json:"next_cursor"` CustomerList []*MomentCustomer `json:"customer_list"` }
type ResultMomentList ¶
type ResultMomentList struct { NextCursor string `json:"next_cursor"` MomentList []*MomentListData `json:"moment_list"` }
type ResultMomentSendRet ¶
type ResultMomentSendRet struct { NextCursor string `json:"next_cursor"` CustomerList []*MomentCustomer `json:"customer_list"` }
type ResultMomentStrategyCreate ¶
type ResultMomentStrategyCreate struct {
StrategyID int64 `json:"strategy_id"`
}
type ResultMomentStrategyGet ¶
type ResultMomentStrategyGet struct {
Strategy *MomentStrategy `json:"strategy"`
}
type ResultMomentStrategyList ¶
type ResultMomentStrategyList struct { Strategy []*MomentStrategyListData `json:"strategy"` NextCursor string `json:"next_cursor"` }
type ResultMomentStrategyRange ¶
type ResultMomentStrategyRange struct {
Range []*MomentStrategyRange `json:"range"`
}
type ResultMomentTaskAdd ¶
type ResultMomentTaskAdd struct {
JobID string `json:"jobid"`
}
type ResultMomentTaskGet ¶
type ResultMomentTaskGet struct { NextCursor string `json:"next_cursor"` TaskList []*MomentTask `json:"task_list"` }
type ResultMomentTaskRet ¶
type ResultMomentTaskRet struct { Status int `json:"status"` Type string `json:"type"` Result *MomentTaskRet `json:"result"` }
type ResultMsgTemplateAdd ¶
type ResultOpenGIDToChatID ¶
type ResultOpenGIDToChatID struct {
ChatID string `json:"chat_id"`
}
type ResultProductAlbumAdd ¶
type ResultProductAlbumAdd struct {
ProductID string `json:"product_id"`
}
type ResultProductAlbumGet ¶
type ResultProductAlbumGet struct {
Product *ProductAlbum `json:"product"`
}
type ResultProductAlbumList ¶
type ResultProductAlbumList struct { NextCursor string `json:"next_cursor"` ProductList []*ProductAlbum `json:"product_list"` }
type ResultResignedCustomerTransfer ¶
type ResultResignedCustomerTransfer struct {
Customer []*ErrCustomerTransfer `json:"customer"`
}
type ResultResignedTransferRet ¶
type ResultResignedTransferRet struct { Customer []*ResignedTransferRet `json:"customer"` NextCursor string `json:"next_cursor"` }
type ResultStrategyTagAdd ¶
type ResultStrategyTagAdd struct {
TagGroup *StrategyTagGroup `json:"tag_group"`
}
type ResultStrategyTagList ¶
type ResultStrategyTagList struct {
TagGroup []*StrategyTagGroup `json:"tag_group"`
}
type ResultTransferRet ¶
type ResultTransferRet struct { Customer []*TransferRet `json:"customer"` NextCursor string `json:"next_cursor"` }
type ResultUnassignedList ¶
type ResultUnassignedList struct { Info []*UnassignedInfo `json:"info"` IsLast bool `json:"is_last"` NextCursor string `json:"next_cursor"` }
type ResultUserBehaviorData ¶
type ResultUserBehaviorData struct {
BehaviorData []*UserBehaviorData `json:"behavior_data"`
}
type RuleApplicableRange ¶
type RuleListData ¶
type StrategyTag ¶
type StrategyTagGroup ¶
type TextConclusion ¶
type TextConclusion struct {
Content string `json:"content"`
}
type TransferRet ¶
type UnassignedInfo ¶
type UserBehaviorData ¶
type UserBehaviorData struct { StatTime int64 `json:"stat_time"` ChatCnt int `json:"chat_cnt"` MessageCnt int `json:"message_cnt"` ReplyPercentage float64 `json:"reply_percentage"` AvgReplyTime int `json:"avg_reply_time"` NegativeFeedbackCnt int `json:"negative_feedback_cnt"` NewApplyCnt int `json:"new_apply_cnt"` NewContactCnt int `json:"new_contact_cnt"` }