Documentation ¶
Index ¶
- type AddContactWayRequest
- type AddContactWayResponse
- type AddCropTagItem
- type AddCropTagRequest
- type AddCropTagResponse
- type AddGroupWelcomeTemplateRequest
- type AddGroupWelcomeTemplateResponse
- type AddJoinWayRequest
- type AddJoinWayResponse
- type AddMomentTaskRequest
- type AddMomentTaskResponse
- type AddMsgTemplateRequest
- type AddMsgTemplateResponse
- type AddStrategyTagRequest
- type AddStrategyTagRequestItem
- type AddStrategyTagResponse
- type AddStrategyTagResponseItem
- type AddStrategyTagResponseTagGroup
- type Attachment
- type AttachmentFile
- type AttachmentImg
- type AttachmentLink
- type AttachmentMiniProgram
- type AttachmentVideo
- type BatchGetExternalUserDetailsRequest
- type BehaviorData
- type CancelGroupMsgSendRequest
- type CancelMomentTaskRequest
- type Client
- func (r *Client) AddContactWay(req *AddContactWayRequest) (*AddContactWayResponse, error)
- func (r *Client) AddCropTag(req AddCropTagRequest) (*TagGroup, error)
- func (r *Client) AddGroupWelcomeTemplate(req *AddGroupWelcomeTemplateRequest) (*AddGroupWelcomeTemplateResponse, error)
- func (r *Client) AddJoinWay(req *AddJoinWayRequest) (*AddJoinWayResponse, error)
- func (r *Client) AddMomentTask(req *AddMomentTaskRequest) (*AddMomentTaskResponse, error)
- func (r *Client) AddMsgTemplate(req *AddMsgTemplateRequest) (*AddMsgTemplateResponse, error)
- func (r *Client) AddStrategyTag(req *AddStrategyTagRequest) (*AddStrategyTagResponse, error)
- func (r *Client) BatchGetExternalUserDetails(request BatchGetExternalUserDetailsRequest) ([]ExternalUserForBatch, error)
- func (r *Client) CancelGroupMsgSend(req *CancelGroupMsgSendRequest) error
- func (r *Client) CancelMomentTask(req *CancelMomentTaskRequest) error
- func (r *Client) CreateCustomerAcquisitionLink(req *CreateCustomerAcquisitionLinkRequest) (*CreateCustomerAcquisitionLinkResponse, error)
- func (r *Client) CreateCustomerStrategy(req *CreateCustomerStrategyRequest) (*CreateCustomerStrategyResponse, error)
- func (r *Client) CreateMomentStrategy(req *CreateMomentStrategyRequest) (*CreateMomentStrategyResponse, error)
- func (r *Client) CustomerAcquisitionQuota() (*CustomerAcquisitionQuotaResponse, error)
- func (r *Client) CustomerAcquisitionStatistic(req *CustomerAcquisitionStatisticRequest) (*CustomerAcquisitionStatisticResponse, error)
- func (r *Client) DelContactWay(req *DelContactWayRequest) (*DelContactWayResponse, error)
- func (r *Client) DelCustomerStrategy(req *DelCustomerStrategyRequest) error
- func (r *Client) DelGroupWelcomeTemplate(req *DelGroupWelcomeTemplateRequest) error
- func (r *Client) DelJoinWay(req *JoinWayConfigRequest) error
- func (r *Client) DelMomentStrategy(req *DelMomentStrategyRequest) error
- func (r *Client) DelStrategyTag(req *DelStrategyTagRequest) error
- func (r *Client) DeleteCropTag(req DeleteCropTagRequest) error
- func (r *Client) DeleteCustomerAcquisitionLink(req *DeleteCustomerAcquisitionLinkRequest) (*DeleteCustomerAcquisitionLinkResponse, error)
- func (r *Client) EditCropTag(req EditCropTagRequest) error
- func (r *Client) EditCustomerStrategy(req *EditCustomerStrategyRequest) error
- func (r *Client) EditGroupWelcomeTemplate(req *EditGroupWelcomeTemplateRequest) error
- func (r *Client) EditMomentStrategy(req *EditMomentStrategyRequest) error
- func (r *Client) EditStrategyTag(req *EditStrategyTagRequest) error
- func (r *Client) GetCallbackMessage(encryptedMsg []byte) (msg EventCallbackMessage, err error)
- func (r *Client) GetContactWay(req *GetContactWayRequest) (*GetContactWayResponse, error)
- func (r *Client) GetCropTagList(req GetCropTagRequest) ([]TagGroup, error)
- func (r *Client) GetCustomerAcquisition(req *GetCustomerAcquisitionRequest) (*GetCustomerAcquisitionResponse, error)
- func (r *Client) GetCustomerInfoWithCustomerAcquisitionLink(req *GetCustomerInfoWithCustomerAcquisitionLinkRequest) (*GetCustomerInfoWithCustomerAcquisitionLinkResponse, error)
- func (r *Client) GetCustomerStrategy(req *GetCustomerStrategyRequest) (*GetCustomerStrategyResponse, error)
- func (r *Client) GetExternalUserDetail(externalUserID string, nextCursor ...string) (*ExternalUserDetailResponse, error)
- func (r *Client) GetExternalUserList(userID string) ([]string, error)
- func (r *Client) GetFollowUserList() ([]string, error)
- func (r *Client) GetGroupChatDetail(req *GroupChatDetailRequest) (*GroupChatDetailResponse, error)
- func (r *Client) GetGroupChatList(req *GroupChatListRequest) (*GroupChatListResponse, error)
- func (r *Client) GetGroupChatStat(req *GetGroupChatStatRequest) (*GetGroupChatStatResponse, error)
- func (r *Client) GetGroupChatStatByDay(req *GetGroupChatStatByDayRequest) ([]GetGroupChatStatByDayItem, error)
- func (r *Client) GetGroupMsgListV2(req *GetGroupMsgListV2Request) (*GetGroupMsgListV2Response, error)
- func (r *Client) GetGroupMsgSendResult(req *GetGroupMsgSendResultRequest) (*GetGroupMsgSendResultResponse, error)
- func (r *Client) GetGroupMsgTask(req *GetGroupMsgTaskRequest) (*GetGroupMsgTaskResponse, error)
- func (r *Client) GetGroupWelcomeTemplate(req *GetGroupWelcomeTemplateRequest) (*GetGroupWelcomeTemplateResponse, error)
- func (r *Client) GetJoinWay(req *JoinWayConfigRequest) (*GetJoinWayResponse, error)
- func (r *Client) GetMomentComments(req *GetMomentCommentsRequest) (*GetMomentCommentsResponse, error)
- func (r *Client) GetMomentCustomerList(req *GetMomentCustomerListRequest) (*GetMomentCustomerListResponse, error)
- func (r *Client) GetMomentList(req *GetMomentListRequest) (*GetMomentListResponse, error)
- func (r *Client) GetMomentSendResult(req *GetMomentSendResultRequest) (*GetMomentSendResultResponse, error)
- func (r *Client) GetMomentStrategy(req *GetMomentStrategyRequest) (*GetMomentStrategyResponse, error)
- func (r *Client) GetMomentTask(req *GetMomentTaskRequest) (*GetMomentTaskResponse, error)
- func (r *Client) GetMomentTaskResult(jobID string) (*GetMomentTaskResultResponse, error)
- func (r *Client) GetRangeCustomerStrategy(req *GetRangeCustomerStrategyRequest) (*GetRangeCustomerStrategyResponse, error)
- func (r *Client) GetRangeMomentStrategy(req *GetRangeMomentStrategyRequest) (*GetRangeMomentStrategyResponse, error)
- func (r *Client) GetStrategyTagList(req *GetStrategyTagListRequest) (*GetStrategyTagListResponse, error)
- func (r *Client) GetUnassignedList(req *GetUnassignedListRequest) (*GetUnassignedListResponse, error)
- func (r *Client) GetUserBehaviorData(req *GetUserBehaviorRequest) ([]BehaviorData, error)
- func (r *Client) GroupChatOnJobTransfer(req *GroupChatOnJobTransferRequest) (*GroupChatOnJobTransferResponse, error)
- func (r *Client) GroupChatTransfer(req *GroupChatTransferRequest) (*GroupChatTransferResponse, error)
- func (r *Client) ListContactWay(req *ListContactWayRequest) (*ListContactWayResponse, error)
- func (r *Client) ListCustomerStrategy(req *ListCustomerStrategyRequest) (*ListCustomerStrategyResponse, error)
- func (r *Client) ListLink(req *ListLinkRequest) (*ListLinkResponse, error)
- func (r *Client) ListMomentStrategy(req *ListMomentStrategyRequest) (*ListMomentStrategyResponse, error)
- func (r *Client) MarkTag(request MarkTagRequest) error
- func (r *Client) OpengIDToChatID(req *OpengIDToChatIDRequest) (*OpengIDToChatIDResponse, error)
- func (r *Client) RemindGroupMsgSend(req *RemindGroupMsgSendRequest) error
- func (r *Client) ResignedTransferCustomer(req *ResignedTransferCustomerRequest) (*ResignedTransferCustomerResponse, error)
- func (r *Client) ResignedTransferResult(req *ResignedTransferResultRequest) (*ResignedTransferResultResponse, error)
- func (r *Client) SendWelcomeMsg(req *SendWelcomeMsgRequest) error
- func (r *Client) TransferCustomer(req *TransferCustomerRequest) (*TransferCustomerResponse, error)
- func (r *Client) TransferResult(req *TransferResultRequest) (*TransferResultResponse, error)
- func (r *Client) UpdateContactWay(req *UpdateContactWayRequest) (*UpdateContactWayResponse, error)
- func (r *Client) UpdateCustomerAcquisitionLink(req *UpdateCustomerAcquisitionLinkRequest) (*UpdateCustomerAcquisitionLinkResponse, error)
- func (r *Client) UpdateJoinWay(req *UpdateJoinWayRequest) error
- func (r *Client) UpdateUserRemark(request UpdateUserRemarkRequest) error
- type ConclusionsImageRequest
- type ConclusionsImageResponse
- type ConclusionsLink
- type ConclusionsMiniProgram
- type ConclusionsRequest
- type ConclusionsResponse
- type ConclusionsText
- type ContactWay
- type ContactWayForList
- type CreateCustomerAcquisitionLinkRequest
- type CreateCustomerAcquisitionLinkResponse
- type CreateCustomerStrategyRequest
- type CreateCustomerStrategyResponse
- type CreateMomentStrategyRequest
- type CreateMomentStrategyResponse
- type CustomerAcquisitionQuotaResponse
- type CustomerAcquisitionRange
- type CustomerAcquisitionStatisticRequest
- type CustomerAcquisitionStatisticResponse
- type CustomerList
- type DelContactWayRequest
- type DelContactWayResponse
- type DelCustomerStrategyRequest
- type DelGroupWelcomeTemplateRequest
- type DelGroupWelcomeTemplateResponse
- type DelMomentStrategyRequest
- type DelStrategyTagRequest
- type DeleteCropTagRequest
- type DeleteCustomerAcquisitionLinkRequest
- type DeleteCustomerAcquisitionLinkResponse
- type EditCropTagRequest
- type EditCustomerStrategyRequest
- type EditGroupWelcomeTemplateRequest
- type EditGroupWelcomeTemplateResponse
- type EditMomentStrategyRequest
- type EditStrategyTagRequest
- type EventCallbackMessage
- type ExternalAttr
- type ExternalContact
- type ExternalProfile
- type ExternalUser
- type ExternalUserDetailListResponse
- type ExternalUserDetailResponse
- type ExternalUserForBatch
- type ExternalUserListResponse
- type FailedChat
- type FollowInfo
- type FollowUser
- type GetContactWayRequest
- type GetContactWayResponse
- type GetCropTagListResponse
- type GetCropTagRequest
- type GetCustomerAcquisitionRequest
- type GetCustomerAcquisitionResponse
- type GetCustomerInfoWithCustomerAcquisitionLinkRequest
- type GetCustomerInfoWithCustomerAcquisitionLinkResponse
- type GetCustomerStrategyRequest
- type GetCustomerStrategyResponse
- type GetGroupChatStatByDayItem
- type GetGroupChatStatByDayRequest
- type GetGroupChatStatByDayResponse
- type GetGroupChatStatRequest
- type GetGroupChatStatResponse
- type GetGroupMsgListV2Request
- type GetGroupMsgListV2Response
- type GetGroupMsgSendResultRequest
- type GetGroupMsgSendResultResponse
- type GetGroupMsgTaskRequest
- type GetGroupMsgTaskResponse
- type GetGroupWelcomeTemplateRequest
- type GetGroupWelcomeTemplateResponse
- type GetJoinWayResponse
- type GetMomentCommentsRequest
- type GetMomentCommentsResponse
- type GetMomentCustomerListRequest
- type GetMomentCustomerListResponse
- type GetMomentListRequest
- type GetMomentListResponse
- type GetMomentSendResultRequest
- type GetMomentSendResultResponse
- type GetMomentStrategyRequest
- type GetMomentStrategyResponse
- type GetMomentTaskRequest
- type GetMomentTaskResponse
- type GetMomentTaskResultResponse
- type GetRangeCustomerStrategyRequest
- type GetRangeCustomerStrategyResponse
- type GetRangeMomentStrategyRequest
- type GetRangeMomentStrategyResponse
- type GetStrategyTagListRequest
- type GetStrategyTagListResponse
- type GetUnassignedListRequest
- type GetUnassignedListResponse
- type GetUserBehaviorRequest
- type GetUserBehaviorResponse
- type GroupChat
- type GroupChatAdmin
- type GroupChatDetailRequest
- type GroupChatDetailResponse
- type GroupChatList
- type GroupChatListRequest
- type GroupChatListResponse
- type GroupChatMember
- type GroupChatOnJobTransferRequest
- type GroupChatOnJobTransferResponse
- type GroupChatStatItem
- type GroupChatStatItemData
- type GroupChatTransferRequest
- type GroupChatTransferResponse
- type GroupMsg
- type Invitor
- type JoinWay
- type JoinWayConfigRequest
- type Link
- type ListContactWayRequest
- type ListContactWayResponse
- type ListCustomerStrategyRequest
- type ListCustomerStrategyResponse
- type ListLinkRequest
- type ListLinkResponse
- type ListMomentStrategyRequest
- type ListMomentStrategyResponse
- type MarkTagRequest
- type MiniProgram
- type MomentComment
- type MomentCustomer
- type MomentExternalContactList
- type MomentImage
- type MomentInvalidExternalContactList
- type MomentInvalidSenderList
- type MomentItem
- type MomentLike
- type MomentLink
- type MomentLocation
- type MomentPrivilege
- type MomentSendCustomer
- type MomentSenderList
- type MomentStrategy
- type MomentStrategyID
- type MomentTask
- type MomentTaskAttachment
- type MomentTaskImage
- type MomentTaskLink
- type MomentTaskResult
- type MomentTaskText
- type MomentTaskVideo
- type MomentText
- type MomentVideo
- type MomentVisibleRange
- type MsgText
- type OpengIDToChatIDRequest
- type OpengIDToChatIDResponse
- type OwnerFilter
- type Privilege
- type QuotaList
- type Range
- type RangeMomentStrategy
- type RemindGroupMsgSendRequest
- type ResignedTransferCustomerRequest
- type ResignedTransferCustomerResponse
- type ResignedTransferResultRequest
- type ResignedTransferResultResponse
- type Send
- type SendWelcomeMsgRequest
- type SendWelcomeMsgResponse
- type Strategy
- type StrategyID
- type StrategyTag
- type StrategyTagGroup
- type Tag
- type TagFilter
- type TagGroup
- type TagGroupList
- type TagGroupTagItem
- type Task
- type Text
- type TransferCustomerItem
- type TransferCustomerRequest
- type TransferCustomerResponse
- type TransferResultItem
- type TransferResultRequest
- type TransferResultResponse
- type UnassignedListInfo
- type UpdateContactWayRequest
- type UpdateContactWayResponse
- type UpdateCustomerAcquisitionLinkRequest
- type UpdateCustomerAcquisitionLinkResponse
- type UpdateJoinWayRequest
- type UpdateUserRemarkRequest
- type Web
- type WechatChannel
- type WechatChannels
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddContactWayRequest ¶
type AddContactWayRequest struct { Type int `json:"type"` Scene int `json:"scene"` Style int `json:"style"` Remark string `json:"remark"` SkipVerify bool `json:"skip_verify"` State string `json:"state"` User []string `json:"user"` Party []int `json:"party"` IsTemp bool `json:"is_temp"` ExpiresIn int `json:"expires_in"` ChatExpiresIn int `json:"chat_expires_in"` UnionID string `json:"unionid"` Conclusions ConclusionsRequest `json:"conclusions"` }
AddContactWayRequest 配置客户联系「联系我」方式请求
type AddContactWayResponse ¶
type AddContactWayResponse struct { util.CommonError ConfigID string `json:"config_id"` QrCode string `json:"qr_code"` }
AddContactWayResponse 配置客户联系「联系我」方式响应
type AddCropTagItem ¶
AddCropTagItem 添加企业标签子项
type AddCropTagRequest ¶
type AddCropTagRequest struct { GroupID string `json:"group_id,omitempty"` GroupName string `json:"group_name"` Order int `json:"order"` Tag []AddCropTagItem `json:"tag"` AgentID int `json:"agentid"` }
AddCropTagRequest 添加企业标签请求
type AddCropTagResponse ¶
type AddCropTagResponse struct { util.CommonError TagGroup TagGroup `json:"tag_group"` }
AddCropTagResponse 添加企业标签响应
type AddGroupWelcomeTemplateRequest ¶
type AddGroupWelcomeTemplateRequest struct { Text MsgText `json:"text"` Image *AttachmentImg `json:"image,omitempty"` Link *AttachmentLink `json:"link,omitempty"` MiniProgram *AttachmentMiniProgram `json:"miniprogram,omitempty"` File *AttachmentFile `json:"file,omitempty"` Video *AttachmentVideo `json:"video,omitempty"` AgentID int `json:"agentid,omitempty"` Notify int `json:"notify,omitempty"` }
AddGroupWelcomeTemplateRequest 添加入群欢迎语素材请求
type AddGroupWelcomeTemplateResponse ¶
type AddGroupWelcomeTemplateResponse struct { util.CommonError TemplateID string `json:"template_id"` }
AddGroupWelcomeTemplateResponse 添加入群欢迎语素材响应
type AddJoinWayRequest ¶
type AddJoinWayRequest struct { Scene int `json:"scene"` // 必填 1 - 群的小程序插件,2 - 群的二维码插件 Remark string `json:"remark"` //非必填 联系方式的备注信息,用于助记,超过30个字符将被截断 AutoCreateRoom int `json:"auto_create_room"` //非必填 当群满了后,是否自动新建群。0-否;1-是。 默认为1 RoomBaseName string `json:"room_base_name"` //非必填 自动建群的群名前缀,当auto_create_room为1时有效。最长40个utf8字符 RoomBaseID int `json:"room_base_id"` //非必填 自动建群的群起始序号,当auto_create_room为1时有效 ChatIDList []string `json:"chat_id_list"` //必填 使用该配置的客户群ID列表,支持5个。见客户群ID获取方法 State string `json:"state"` //非必填 企业自定义的state参数,用于区分不同的入群渠道。不超过30个UTF-8字符 }
AddJoinWayRequest 添加群配置请求参数
type AddJoinWayResponse ¶
type AddJoinWayResponse struct { util.CommonError ConfigID string `json:"config_id"` }
AddJoinWayResponse 添加群配置返回值
type AddMomentTaskRequest ¶
type AddMomentTaskRequest struct { Text MomentTaskText `json:"text"` Attachments []MomentTaskAttachment `json:"attachments"` VisibleRange MomentVisibleRange `json:"visible_range"` }
AddMomentTaskRequest 创建发表任务请求
type AddMomentTaskResponse ¶
type AddMomentTaskResponse struct { util.CommonError JobID string `json:"jobid"` }
AddMomentTaskResponse 创建发表任务响应
type AddMsgTemplateRequest ¶
type AddMsgTemplateRequest struct { ChatType string `json:"chat_type"` ExternalUserID []string `json:"external_userid"` Sender string `json:"sender,omitempty"` Text MsgText `json:"text"` Attachments []*Attachment `json:"attachments"` AllowSelect bool `json:"allow_select,omitempty"` ChatIDList []string `json:"chat_id_list,omitempty"` TagFilter TagFilter `json:"tag_filter,omitempty"` }
AddMsgTemplateRequest 创建企业群发请求
type AddMsgTemplateResponse ¶
type AddMsgTemplateResponse struct { util.CommonError FailList []string `json:"fail_list"` MsgID string `json:"msgid"` }
AddMsgTemplateResponse 创建企业群发响应
type AddStrategyTagRequest ¶
type AddStrategyTagRequest struct { StrategyID int `json:"strategy_id"` GroupID string `json:"group_id"` GroupName string `json:"group_name"` Order int `json:"order"` Tag []AddStrategyTagRequestItem `json:"tag"` }
AddStrategyTagRequest 为指定规则组创建企业客户标签请求
type AddStrategyTagRequestItem ¶
AddStrategyTagRequestItem 为指定规则组创建企业客户标签请求条目
type AddStrategyTagResponse ¶
type AddStrategyTagResponse struct { util.CommonError TagGroup AddStrategyTagResponseTagGroup `json:"tag_group"` }
AddStrategyTagResponse 为指定规则组创建企业客户标签响应
type AddStrategyTagResponseItem ¶
type AddStrategyTagResponseItem struct { ID string `json:"id"` Name string `json:"name"` CreateTime int64 `json:"create_time"` Order int `json:"order"` }
AddStrategyTagResponseItem 标签组内的标签列表
type AddStrategyTagResponseTagGroup ¶
type AddStrategyTagResponseTagGroup struct { GroupID string `json:"group_id"` GroupName string `json:"group_name"` CreateTime int64 `json:"create_time"` Order int `json:"order"` Tag []AddStrategyTagResponseItem `json:"tag"` }
AddStrategyTagResponseTagGroup 为指定规则组创建企业客户标签响应标签组
type Attachment ¶
type Attachment struct { MsgType string `json:"msgtype"` Image AttachmentImg `json:"image,omitempty"` Link AttachmentLink `json:"link,omitempty"` MiniProgram AttachmentMiniProgram `json:"miniprogram,omitempty"` Video AttachmentVideo `json:"video,omitempty"` File AttachmentFile `json:"file,omitempty"` }
Attachment 附件
type AttachmentFile ¶
type AttachmentFile struct {
MediaID string `json:"media_id"`
}
AttachmentFile 文件消息
type AttachmentImg ¶
AttachmentImg 图片消息
type AttachmentLink ¶
type AttachmentLink struct { Title string `json:"title"` PicURL string `json:"picurl"` Desc string `json:"desc"` URL string `json:"url"` }
AttachmentLink 图文消息
type AttachmentMiniProgram ¶
type AttachmentMiniProgram struct { Title string `json:"title"` PicMediaID string `json:"pic_media_id"` AppID string `json:"appid"` Page string `json:"page"` }
AttachmentMiniProgram 小程序消息
type AttachmentVideo ¶
type AttachmentVideo struct {
MediaID string `json:"media_id"`
}
AttachmentVideo 视频消息
type BatchGetExternalUserDetailsRequest ¶
type BatchGetExternalUserDetailsRequest struct { UserIDList []string `json:"userid_list"` Cursor string `json:"cursor"` Limit int `json:"limit,omitempty"` }
BatchGetExternalUserDetailsRequest 批量获取外部联系人详情请求
type BehaviorData ¶
type BehaviorData struct { StatTime int `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"` }
BehaviorData 联系客户统计数据
type CancelGroupMsgSendRequest ¶
type CancelGroupMsgSendRequest struct {
MsgID string `json:"msgid"`
}
CancelGroupMsgSendRequest 停止企业群发请求
type CancelMomentTaskRequest ¶
type CancelMomentTaskRequest struct {
MomentID string `json:"moment_id"`
}
CancelMomentTaskRequest 停止发表企业朋友圈请求
type Client ¶
Client 外部联系接口实例
func (*Client) AddContactWay ¶
func (r *Client) AddContactWay(req *AddContactWayRequest) (*AddContactWayResponse, error)
AddContactWay 配置客户联系「联系我」方式 see https://developer.work.weixin.qq.com/document/path/92228
func (*Client) AddCropTag ¶
func (r *Client) AddCropTag(req AddCropTagRequest) (*TagGroup, error)
AddCropTag 添加企业客户标签 @see https://developer.work.weixin.qq.com/document/path/92117
func (*Client) AddGroupWelcomeTemplate ¶
func (r *Client) AddGroupWelcomeTemplate(req *AddGroupWelcomeTemplateRequest) (*AddGroupWelcomeTemplateResponse, error)
AddGroupWelcomeTemplate 添加入群欢迎语素材 see https://developer.work.weixin.qq.com/document/path/92366#%E6%B7%BB%E5%8A%A0%E5%85%A5%E7%BE%A4%E6%AC%A2%E8%BF%8E%E8%AF%AD%E7%B4%A0%E6%9D%90
func (*Client) AddJoinWay ¶
func (r *Client) AddJoinWay(req *AddJoinWayRequest) (*AddJoinWayResponse, error)
AddJoinWay 加入群聊 @see https://developer.work.weixin.qq.com/document/path/92229
func (*Client) AddMomentTask ¶
func (r *Client) AddMomentTask(req *AddMomentTaskRequest) (*AddMomentTaskResponse, error)
AddMomentTask 创建发表任务 see https://developer.work.weixin.qq.com/document/path/95094#%E5%88%9B%E5%BB%BA%E5%8F%91%E8%A1%A8%E4%BB%BB%E5%8A%A1
func (*Client) AddMsgTemplate ¶
func (r *Client) AddMsgTemplate(req *AddMsgTemplateRequest) (*AddMsgTemplateResponse, error)
AddMsgTemplate 创建企业群发 see https://developer.work.weixin.qq.com/document/path/92135
func (*Client) AddStrategyTag ¶
func (r *Client) AddStrategyTag(req *AddStrategyTagRequest) (*AddStrategyTagResponse, error)
AddStrategyTag 为指定规则组创建企业客户标签 @see https://developer.work.weixin.qq.com/document/path/94882#%E4%B8%BA%E6%8C%87%E5%AE%9A%E8%A7%84%E5%88%99%E7%BB%84%E5%88%9B%E5%BB%BA%E4%BC%81%E4%B8%9A%E5%AE%A2%E6%88%B7%E6%A0%87%E7%AD%BE
func (*Client) BatchGetExternalUserDetails ¶
func (r *Client) BatchGetExternalUserDetails(request BatchGetExternalUserDetailsRequest) ([]ExternalUserForBatch, error)
BatchGetExternalUserDetails 批量获取外部联系人详情 @see https://developer.work.weixin.qq.com/document/path/92994
func (*Client) CancelGroupMsgSend ¶
func (r *Client) CancelGroupMsgSend(req *CancelGroupMsgSendRequest) error
CancelGroupMsgSend 提醒成员群发 see https://developer.work.weixin.qq.com/document/path/97611
func (*Client) CancelMomentTask ¶
func (r *Client) CancelMomentTask(req *CancelMomentTaskRequest) error
CancelMomentTask 停止发表企业朋友圈 see https://developer.work.weixin.qq.com/document/path/97612
func (*Client) CreateCustomerAcquisitionLink ¶
func (r *Client) CreateCustomerAcquisitionLink(req *CreateCustomerAcquisitionLinkRequest) (*CreateCustomerAcquisitionLinkResponse, error)
CreateCustomerAcquisitionLink 获客助手--创建获客链接 see https://developer.work.weixin.qq.com/document/path/97297
func (*Client) CreateCustomerStrategy ¶
func (r *Client) CreateCustomerStrategy(req *CreateCustomerStrategyRequest) (*CreateCustomerStrategyResponse, error)
CreateCustomerStrategy 创建新的规则组 @see https://developer.work.weixin.qq.com/document/path/94883#%E5%88%9B%E5%BB%BA%E6%96%B0%E7%9A%84%E8%A7%84%E5%88%99%E7%BB%84
func (*Client) CreateMomentStrategy ¶
func (r *Client) CreateMomentStrategy(req *CreateMomentStrategyRequest) (*CreateMomentStrategyResponse, error)
CreateMomentStrategy 创建新的规则组 see https://developer.work.weixin.qq.com/document/path/94890#%E5%88%9B%E5%BB%BA%E6%96%B0%E7%9A%84%E8%A7%84%E5%88%99%E7%BB%84
func (*Client) CustomerAcquisitionQuota ¶
func (r *Client) CustomerAcquisitionQuota() (*CustomerAcquisitionQuotaResponse, error)
CustomerAcquisitionQuota 获客助手额度管理与使用统计--查询剩余使用量 see https://developer.work.weixin.qq.com/document/path/97375
func (*Client) CustomerAcquisitionStatistic ¶
func (r *Client) CustomerAcquisitionStatistic(req *CustomerAcquisitionStatisticRequest) (*CustomerAcquisitionStatisticResponse, error)
CustomerAcquisitionStatistic 获客助手额度管理与使用统计--查询链接使用详情 see https://developer.work.weixin.qq.com/document/path/97375
func (*Client) DelContactWay ¶
func (r *Client) DelContactWay(req *DelContactWayRequest) (*DelContactWayResponse, error)
DelContactWay 删除企业已配置的「联系我」方式 see https://developer.work.weixin.qq.com/document/path/92228
func (*Client) DelCustomerStrategy ¶
func (r *Client) DelCustomerStrategy(req *DelCustomerStrategyRequest) error
DelCustomerStrategy 删除规则组 see https://developer.work.weixin.qq.com/document/path/94883#%E5%88%A0%E9%99%A4%E8%A7%84%E5%88%99%E7%BB%84
func (*Client) DelGroupWelcomeTemplate ¶
func (r *Client) DelGroupWelcomeTemplate(req *DelGroupWelcomeTemplateRequest) error
DelGroupWelcomeTemplate 删除入群欢迎语素材 see https://developer.work.weixin.qq.com/document/path/92366#%E5%88%A0%E9%99%A4%E5%85%A5%E7%BE%A4%E6%AC%A2%E8%BF%8E%E8%AF%AD%E7%B4%A0%E6%9D%90
func (*Client) DelJoinWay ¶
func (r *Client) DelJoinWay(req *JoinWayConfigRequest) error
DelJoinWay 删除客户群进群方式配置 @see https://developer.work.weixin.qq.com/document/path/92229
func (*Client) DelMomentStrategy ¶
func (r *Client) DelMomentStrategy(req *DelMomentStrategyRequest) error
DelMomentStrategy 删除规则组 see https://developer.work.weixin.qq.com/document/path/94890#%E5%88%A0%E9%99%A4%E8%A7%84%E5%88%99%E7%BB%84
func (*Client) DelStrategyTag ¶
func (r *Client) DelStrategyTag(req *DelStrategyTagRequest) error
DelStrategyTag 删除指定规则组下的企业客户标签 see https://developer.work.weixin.qq.com/document/path/94882#%E5%88%A0%E9%99%A4%E6%8C%87%E5%AE%9A%E8%A7%84%E5%88%99%E7%BB%84%E4%B8%8B%E7%9A%84%E4%BC%81%E4%B8%9A%E5%AE%A2%E6%88%B7%E6%A0%87%E7%AD%BE
func (*Client) DeleteCropTag ¶
func (r *Client) DeleteCropTag(req DeleteCropTagRequest) error
DeleteCropTag 删除企业客户标签 @see https://developer.work.weixin.qq.com/document/path/92117
func (*Client) DeleteCustomerAcquisitionLink ¶
func (r *Client) DeleteCustomerAcquisitionLink(req *DeleteCustomerAcquisitionLinkRequest) (*DeleteCustomerAcquisitionLinkResponse, error)
DeleteCustomerAcquisitionLink 获客助手--删除获客链接 see https://developer.work.weixin.qq.com/document/path/97297
func (*Client) EditCropTag ¶
func (r *Client) EditCropTag(req EditCropTagRequest) error
EditCropTag 修改企业客户标签 @see https://developer.work.weixin.qq.com/document/path/92117
func (*Client) EditCustomerStrategy ¶
func (r *Client) EditCustomerStrategy(req *EditCustomerStrategyRequest) error
EditCustomerStrategy 编辑规则组及其管理范围 see https://developer.work.weixin.qq.com/document/path/94883#%E7%BC%96%E8%BE%91%E8%A7%84%E5%88%99%E7%BB%84%E5%8F%8A%E5%85%B6%E7%AE%A1%E7%90%86%E8%8C%83%E5%9B%B4
func (*Client) EditGroupWelcomeTemplate ¶
func (r *Client) EditGroupWelcomeTemplate(req *EditGroupWelcomeTemplateRequest) error
EditGroupWelcomeTemplate 编辑入群欢迎语素材 see https://developer.work.weixin.qq.com/document/path/92366#%E7%BC%96%E8%BE%91%E5%85%A5%E7%BE%A4%E6%AC%A2%E8%BF%8E%E8%AF%AD%E7%B4%A0%E6%9D%90
func (*Client) EditMomentStrategy ¶
func (r *Client) EditMomentStrategy(req *EditMomentStrategyRequest) error
EditMomentStrategy 编辑规则组及其管理范围 see https://developer.work.weixin.qq.com/document/path/94890#%E7%BC%96%E8%BE%91%E8%A7%84%E5%88%99%E7%BB%84%E5%8F%8A%E5%85%B6%E7%AE%A1%E7%90%86%E8%8C%83%E5%9B%B4
func (*Client) EditStrategyTag ¶
func (r *Client) EditStrategyTag(req *EditStrategyTagRequest) error
EditStrategyTag 编辑指定规则组下的企业客户标签 see https://developer.work.weixin.qq.com/document/path/94882#%E7%BC%96%E8%BE%91%E6%8C%87%E5%AE%9A%E8%A7%84%E5%88%99%E7%BB%84%E4%B8%8B%E7%9A%84%E4%BC%81%E4%B8%9A%E5%AE%A2%E6%88%B7%E6%A0%87%E7%AD%BE
func (*Client) GetCallbackMessage ¶
func (r *Client) GetCallbackMessage(encryptedMsg []byte) (msg EventCallbackMessage, err error)
GetCallbackMessage 获取联系客户回调事件中的消息内容
func (*Client) GetContactWay ¶
func (r *Client) GetContactWay(req *GetContactWayRequest) (*GetContactWayResponse, error)
GetContactWay 获取企业已配置的「联系我」方式 see https://developer.work.weixin.qq.com/document/path/92228
func (*Client) GetCropTagList ¶
func (r *Client) GetCropTagList(req GetCropTagRequest) ([]TagGroup, error)
GetCropTagList 获取企业标签库 @see https://developer.work.weixin.qq.com/document/path/92117
func (*Client) GetCustomerAcquisition ¶
func (r *Client) GetCustomerAcquisition(req *GetCustomerAcquisitionRequest) (*GetCustomerAcquisitionResponse, error)
GetCustomerAcquisition 获客助手--获取获客链接详情 see https://developer.work.weixin.qq.com/document/path/97297
func (*Client) GetCustomerInfoWithCustomerAcquisitionLink ¶
func (r *Client) GetCustomerInfoWithCustomerAcquisitionLink(req *GetCustomerInfoWithCustomerAcquisitionLinkRequest) (*GetCustomerInfoWithCustomerAcquisitionLinkResponse, error)
GetCustomerInfoWithCustomerAcquisitionLink 获客助手--获取由获客链接添加的客户信息 see https://developer.work.weixin.qq.com/document/path/97298
func (*Client) GetCustomerStrategy ¶
func (r *Client) GetCustomerStrategy(req *GetCustomerStrategyRequest) (*GetCustomerStrategyResponse, error)
GetCustomerStrategy 获取规则组详情 @see https://developer.work.weixin.qq.com/document/path/94883#%E8%8E%B7%E5%8F%96%E8%A7%84%E5%88%99%E7%BB%84%E8%AF%A6%E6%83%85
func (*Client) GetExternalUserDetail ¶
func (r *Client) GetExternalUserDetail(externalUserID string, nextCursor ...string) (*ExternalUserDetailResponse, error)
GetExternalUserDetail 获取外部联系人详情 @see https://developer.work.weixin.qq.com/document/path/92114
func (*Client) GetExternalUserList ¶
GetExternalUserList 获取客户列表 @see https://developer.work.weixin.qq.com/document/path/92113
func (*Client) GetFollowUserList ¶
GetFollowUserList 获取配置了客户联系功能的成员列表 @see https://developer.work.weixin.qq.com/document/path/92571
func (*Client) GetGroupChatDetail ¶
func (r *Client) GetGroupChatDetail(req *GroupChatDetailRequest) (*GroupChatDetailResponse, error)
GetGroupChatDetail 获取客户群详情 @see https://developer.work.weixin.qq.com/document/path/92122
func (*Client) GetGroupChatList ¶
func (r *Client) GetGroupChatList(req *GroupChatListRequest) (*GroupChatListResponse, error)
GetGroupChatList 获取客户群列表 @see https://developer.work.weixin.qq.com/document/path/92120
func (*Client) GetGroupChatStat ¶
func (r *Client) GetGroupChatStat(req *GetGroupChatStatRequest) (*GetGroupChatStatResponse, error)
GetGroupChatStat 获取「群聊数据统计」数据 按群主聚合的方式 @see https://developer.work.weixin.qq.com/document/path/92133
func (*Client) GetGroupChatStatByDay ¶
func (r *Client) GetGroupChatStatByDay(req *GetGroupChatStatByDayRequest) ([]GetGroupChatStatByDayItem, error)
GetGroupChatStatByDay 获取「群聊数据统计」数据 按自然日聚合的方式 @see https://developer.work.weixin.qq.com/document/path/92133
func (*Client) GetGroupMsgListV2 ¶
func (r *Client) GetGroupMsgListV2(req *GetGroupMsgListV2Request) (*GetGroupMsgListV2Response, error)
GetGroupMsgListV2 获取群发记录列表 see https://developer.work.weixin.qq.com/document/path/93338#%E8%8E%B7%E5%8F%96%E7%BE%A4%E5%8F%91%E8%AE%B0%E5%BD%95%E5%88%97%E8%A1%A8
func (*Client) GetGroupMsgSendResult ¶
func (r *Client) GetGroupMsgSendResult(req *GetGroupMsgSendResultRequest) (*GetGroupMsgSendResultResponse, error)
GetGroupMsgSendResult 获取企业群发成员执行结果 see https://developer.work.weixin.qq.com/document/path/93338#%E8%8E%B7%E5%8F%96%E4%BC%81%E4%B8%9A%E7%BE%A4%E5%8F%91%E6%88%90%E5%91%98%E6%89%A7%E8%A1%8C%E7%BB%93%E6%9E%9C
func (*Client) GetGroupMsgTask ¶
func (r *Client) GetGroupMsgTask(req *GetGroupMsgTaskRequest) (*GetGroupMsgTaskResponse, error)
GetGroupMsgTask 获取群发成员发送任务列表 see https://developer.work.weixin.qq.com/document/path/93338#%E8%8E%B7%E5%8F%96%E7%BE%A4%E5%8F%91%E6%88%90%E5%91%98%E5%8F%91%E9%80%81%E4%BB%BB%E5%8A%A1%E5%88%97%E8%A1%A8
func (*Client) GetGroupWelcomeTemplate ¶
func (r *Client) GetGroupWelcomeTemplate(req *GetGroupWelcomeTemplateRequest) (*GetGroupWelcomeTemplateResponse, error)
GetGroupWelcomeTemplate 获取入群欢迎语素材 see https://developer.work.weixin.qq.com/document/path/92366#%E8%8E%B7%E5%8F%96%E5%85%A5%E7%BE%A4%E6%AC%A2%E8%BF%8E%E8%AF%AD%E7%B4%A0%E6%9D%90
func (*Client) GetJoinWay ¶
func (r *Client) GetJoinWay(req *JoinWayConfigRequest) (*GetJoinWayResponse, error)
GetJoinWay 获取客户群进群方式配置 @see https://developer.work.weixin.qq.com/document/path/92229
func (*Client) GetMomentComments ¶
func (r *Client) GetMomentComments(req *GetMomentCommentsRequest) (*GetMomentCommentsResponse, error)
GetMomentComments 获取客户朋友圈的互动数据 see https://developer.work.weixin.qq.com/document/path/93333#%E8%8E%B7%E5%8F%96%E5%AE%A2%E6%88%B7%E6%9C%8B%E5%8F%8B%E5%9C%88%E7%9A%84%E4%BA%92%E5%8A%A8%E6%95%B0%E6%8D%AE
func (*Client) GetMomentCustomerList ¶
func (r *Client) GetMomentCustomerList(req *GetMomentCustomerListRequest) (*GetMomentCustomerListResponse, error)
GetMomentCustomerList 获取客户朋友圈发表时选择的可见范围 see https://developer.work.weixin.qq.com/document/path/93333#%E8%8E%B7%E5%8F%96%E5%AE%A2%E6%88%B7%E6%9C%8B%E5%8F%8B%E5%9C%88%E5%8F%91%E8%A1%A8%E6%97%B6%E9%80%89%E6%8B%A9%E7%9A%84%E5%8F%AF%E8%A7%81%E8%8C%83%E5%9B%B4
func (*Client) GetMomentList ¶
func (r *Client) GetMomentList(req *GetMomentListRequest) (*GetMomentListResponse, error)
GetMomentList 获取企业全部的发表列表 see https://developer.work.weixin.qq.com/document/path/93333#%E8%8E%B7%E5%8F%96%E4%BC%81%E4%B8%9A%E5%85%A8%E9%83%A8%E7%9A%84%E5%8F%91%E8%A1%A8%E5%88%97%E8%A1%A8
func (*Client) GetMomentSendResult ¶
func (r *Client) GetMomentSendResult(req *GetMomentSendResultRequest) (*GetMomentSendResultResponse, error)
GetMomentSendResult 获取客户朋友圈发表后的可见客户列表 see https://developer.work.weixin.qq.com/document/path/93333#%E8%8E%B7%E5%8F%96%E5%AE%A2%E6%88%B7%E6%9C%8B%E5%8F%8B%E5%9C%88%E5%8F%91%E8%A1%A8%E5%90%8E%E7%9A%84%E5%8F%AF%E8%A7%81%E5%AE%A2%E6%88%B7%E5%88%97%E8%A1%A8
func (*Client) GetMomentStrategy ¶
func (r *Client) GetMomentStrategy(req *GetMomentStrategyRequest) (*GetMomentStrategyResponse, error)
GetMomentStrategy 获取规则组详情 see https://developer.work.weixin.qq.com/document/path/94890#%E8%8E%B7%E5%8F%96%E8%A7%84%E5%88%99%E7%BB%84%E8%AF%A6%E6%83%85
func (*Client) GetMomentTask ¶
func (r *Client) GetMomentTask(req *GetMomentTaskRequest) (*GetMomentTaskResponse, error)
GetMomentTask 获取客户朋友圈企业发表的列表 see https://developer.work.weixin.qq.com/document/path/93333#%E8%8E%B7%E5%8F%96%E5%AE%A2%E6%88%B7%E6%9C%8B%E5%8F%8B%E5%9C%88%E4%BC%81%E4%B8%9A%E5%8F%91%E8%A1%A8%E7%9A%84%E5%88%97%E8%A1%A8
func (*Client) GetMomentTaskResult ¶
func (r *Client) GetMomentTaskResult(jobID string) (*GetMomentTaskResultResponse, error)
GetMomentTaskResult 获取任务创建结果 see https://developer.work.weixin.qq.com/document/path/95094#%E8%8E%B7%E5%8F%96%E4%BB%BB%E5%8A%A1%E5%88%9B%E5%BB%BA%E7%BB%93%E6%9E%9C
func (*Client) GetRangeCustomerStrategy ¶
func (r *Client) GetRangeCustomerStrategy(req *GetRangeCustomerStrategyRequest) (*GetRangeCustomerStrategyResponse, error)
GetRangeCustomerStrategy 获取规则组管理范围 @see https://developer.work.weixin.qq.com/document/path/94883#%E8%8E%B7%E5%8F%96%E8%A7%84%E5%88%99%E7%BB%84%E7%AE%A1%E7%90%86%E8%8C%83%E5%9B%B4
func (*Client) GetRangeMomentStrategy ¶
func (r *Client) GetRangeMomentStrategy(req *GetRangeMomentStrategyRequest) (*GetRangeMomentStrategyResponse, error)
GetRangeMomentStrategy 获取规则组管理范围 see https://developer.work.weixin.qq.com/document/path/94890#%E8%8E%B7%E5%8F%96%E8%A7%84%E5%88%99%E7%BB%84%E7%AE%A1%E7%90%86%E8%8C%83%E5%9B%B4
func (*Client) GetStrategyTagList ¶
func (r *Client) GetStrategyTagList(req *GetStrategyTagListRequest) (*GetStrategyTagListResponse, error)
GetStrategyTagList 获取指定规则组下的企业客户标签 @see https://developer.work.weixin.qq.com/document/path/94882#%E8%8E%B7%E5%8F%96%E6%8C%87%E5%AE%9A%E8%A7%84%E5%88%99%E7%BB%84%E4%B8%8B%E7%9A%84%E4%BC%81%E4%B8%9A%E5%AE%A2%E6%88%B7%E6%A0%87%E7%AD%BE
func (*Client) GetUnassignedList ¶
func (r *Client) GetUnassignedList(req *GetUnassignedListRequest) (*GetUnassignedListResponse, error)
GetUnassignedList 获取待分配的离职成员列表 see https://developer.work.weixin.qq.com/document/path/92124
func (*Client) GetUserBehaviorData ¶
func (r *Client) GetUserBehaviorData(req *GetUserBehaviorRequest) ([]BehaviorData, error)
GetUserBehaviorData 获取「联系客户统计」数据 @see https://developer.work.weixin.qq.com/document/path/92132
func (*Client) GroupChatOnJobTransfer ¶
func (r *Client) GroupChatOnJobTransfer(req *GroupChatOnJobTransferRequest) (*GroupChatOnJobTransferResponse, error)
GroupChatOnJobTransfer 分配在职成员的客户群 see https://developer.work.weixin.qq.com/document/path/95703
func (*Client) GroupChatTransfer ¶
func (r *Client) GroupChatTransfer(req *GroupChatTransferRequest) (*GroupChatTransferResponse, error)
GroupChatTransfer 分配离职成员的客户群 see https://developer.work.weixin.qq.com/document/path/92127
func (*Client) ListContactWay ¶
func (r *Client) ListContactWay(req *ListContactWayRequest) (*ListContactWayResponse, error)
ListContactWay 获取企业已配置的「联系我」列表 see https://developer.work.weixin.qq.com/document/path/92228
func (*Client) ListCustomerStrategy ¶
func (r *Client) ListCustomerStrategy(req *ListCustomerStrategyRequest) (*ListCustomerStrategyResponse, error)
ListCustomerStrategy 获取规则组列表 @see https://developer.work.weixin.qq.com/document/path/94883#%E8%8E%B7%E5%8F%96%E8%A7%84%E5%88%99%E7%BB%84%E5%88%97%E8%A1%A8
func (*Client) ListLink ¶
func (r *Client) ListLink(req *ListLinkRequest) (*ListLinkResponse, error)
ListLink 获客助手--获取获客链接列表 see https://developer.work.weixin.qq.com/document/path/97297
func (*Client) ListMomentStrategy ¶
func (r *Client) ListMomentStrategy(req *ListMomentStrategyRequest) (*ListMomentStrategyResponse, error)
ListMomentStrategy 获取规则组列表 see https://developer.work.weixin.qq.com/document/path/94890#%E8%8E%B7%E5%8F%96%E8%A7%84%E5%88%99%E7%BB%84%E5%88%97%E8%A1%A8
func (*Client) MarkTag ¶
func (r *Client) MarkTag(request MarkTagRequest) error
MarkTag 为客户打上标签 @see https://developer.work.weixin.qq.com/document/path/92118
func (*Client) OpengIDToChatID ¶
func (r *Client) OpengIDToChatID(req *OpengIDToChatIDRequest) (*OpengIDToChatIDResponse, error)
OpengIDToChatID 客户群opengid转换 @see https://developer.work.weixin.qq.com/document/path/94828
func (*Client) RemindGroupMsgSend ¶
func (r *Client) RemindGroupMsgSend(req *RemindGroupMsgSendRequest) error
RemindGroupMsgSend 提醒成员群发 see https://developer.work.weixin.qq.com/document/path/97610
func (*Client) ResignedTransferCustomer ¶
func (r *Client) ResignedTransferCustomer(req *ResignedTransferCustomerRequest) (*ResignedTransferCustomerResponse, error)
ResignedTransferCustomer 分配离职成员的客户 see https://developer.work.weixin.qq.com/document/path/94081
func (*Client) ResignedTransferResult ¶
func (r *Client) ResignedTransferResult(req *ResignedTransferResultRequest) (*ResignedTransferResultResponse, error)
ResignedTransferResult 查询离职客户接替状态 see https://developer.work.weixin.qq.com/document/path/94082
func (*Client) SendWelcomeMsg ¶
func (r *Client) SendWelcomeMsg(req *SendWelcomeMsgRequest) error
SendWelcomeMsg 发送新客户欢迎语 see https://developer.work.weixin.qq.com/document/path/92137
func (*Client) TransferCustomer ¶
func (r *Client) TransferCustomer(req *TransferCustomerRequest) (*TransferCustomerResponse, error)
TransferCustomer 分配在职成员的客户 see https://developer.work.weixin.qq.com/document/path/92125
func (*Client) TransferResult ¶
func (r *Client) TransferResult(req *TransferResultRequest) (*TransferResultResponse, error)
TransferResult 查询客户接替状态 see https://developer.work.weixin.qq.com/document/path/94088
func (*Client) UpdateContactWay ¶
func (r *Client) UpdateContactWay(req *UpdateContactWayRequest) (*UpdateContactWayResponse, error)
UpdateContactWay 更新企业已配置的「联系我」方式 see https://developer.work.weixin.qq.com/document/path/92228
func (*Client) UpdateCustomerAcquisitionLink ¶
func (r *Client) UpdateCustomerAcquisitionLink(req *UpdateCustomerAcquisitionLinkRequest) (*UpdateCustomerAcquisitionLinkResponse, error)
UpdateCustomerAcquisitionLink 获客助手--编辑获客链接 see https://developer.work.weixin.qq.com/document/path/97297
func (*Client) UpdateJoinWay ¶
func (r *Client) UpdateJoinWay(req *UpdateJoinWayRequest) error
UpdateJoinWay 更新客户群进群方式配置 @see https://developer.work.weixin.qq.com/document/path/92229
func (*Client) UpdateUserRemark ¶
func (r *Client) UpdateUserRemark(request UpdateUserRemarkRequest) error
UpdateUserRemark 修改客户备注信息 @see https://developer.work.weixin.qq.com/document/path/92115
type ConclusionsImageRequest ¶
type ConclusionsImageRequest struct {
MediaID string `json:"media_id"`
}
ConclusionsImageRequest 图片格式结束语请求
type ConclusionsImageResponse ¶
type ConclusionsImageResponse struct {
PicURL string `json:"pic_url"`
}
ConclusionsImageResponse 图片格式结束语响应
type ConclusionsLink ¶
type ConclusionsLink struct { Title string `json:"title"` PicURL string `json:"picurl"` Desc string `json:"desc"` URL string `json:"url"` }
ConclusionsLink 链接格式结束语
type ConclusionsMiniProgram ¶
type ConclusionsMiniProgram struct { Title string `json:"title"` PicMediaID string `json:"pic_media_id"` AppID string `json:"appid"` Page string `json:"page"` }
ConclusionsMiniProgram 小程序格式结束语
type ConclusionsRequest ¶
type ConclusionsRequest struct { Text ConclusionsText `json:"text"` Image ConclusionsImageRequest `json:"image"` Link ConclusionsLink `json:"link"` MiniProgram ConclusionsMiniProgram `json:"miniprogram"` }
ConclusionsRequest 结束语请求
type ConclusionsResponse ¶
type ConclusionsResponse struct { Text ConclusionsText `json:"text"` Image ConclusionsImageResponse `json:"image"` Link ConclusionsLink `json:"link"` MiniProgram ConclusionsMiniProgram `json:"miniprogram"` }
ConclusionsResponse 结束语响应
type ConclusionsText ¶
type ConclusionsText struct {
Content string `json:"content"`
}
ConclusionsText 文本格式结束语
type ContactWay ¶
type ContactWay struct { ConfigID string `json:"config_id"` Type int `json:"type"` Scene int `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 []int `json:"party"` IsTemp bool `json:"is_temp"` ExpiresIn int `json:"expires_in"` ChatExpiresIn int `json:"chat_expires_in"` UnionID string `json:"unionid"` Conclusions ConclusionsResponse `json:"conclusions"` }
ContactWay 「联系我」配置
type ContactWayForList ¶
type ContactWayForList struct {
ConfigID string `json:"config_id"`
}
ContactWayForList 「联系我」配置
type CreateCustomerAcquisitionLinkRequest ¶
type CreateCustomerAcquisitionLinkRequest struct { LinkName string `json:"link_name"` Range CustomerAcquisitionRange `json:"range"` SkipVerify bool `json:"skip_verify"` }
CreateCustomerAcquisitionLinkRequest 创建获客链接请求
type CreateCustomerAcquisitionLinkResponse ¶
type CreateCustomerAcquisitionLinkResponse struct { util.CommonError Link Link `json:"link"` }
CreateCustomerAcquisitionLinkResponse 创建获客链接响应
type CreateCustomerStrategyRequest ¶
type CreateCustomerStrategyRequest struct { ParentID int `json:"parent_id"` StrategyName string `json:"strategy_name"` AdminList []string `json:"admin_list"` Privilege Privilege `json:"privilege"` Range []Range `json:"range"` }
CreateCustomerStrategyRequest 创建新的规则组请求
type CreateCustomerStrategyResponse ¶
type CreateCustomerStrategyResponse struct { util.CommonError StrategyID int `json:"strategy_id"` }
CreateCustomerStrategyResponse 创建新的规则组响应
type CreateMomentStrategyRequest ¶
type CreateMomentStrategyRequest struct { ParentID int `json:"parent_id"` StrategyName string `json:"strategy_name"` AdminList []string `json:"admin_list"` Privilege MomentPrivilege `json:"privilege"` Range []RangeMomentStrategy `json:"range"` }
CreateMomentStrategyRequest 创建新的规则组请求
type CreateMomentStrategyResponse ¶
type CreateMomentStrategyResponse struct { util.CommonError StrategyID int `json:"strategy_id"` }
CreateMomentStrategyResponse 创建新的规则组响应
type CustomerAcquisitionQuotaResponse ¶
type CustomerAcquisitionQuotaResponse struct { util.CommonError Total int64 `json:"total"` Balance int64 `json:"balance"` QuotaList []QuotaList `json:"quota_list"` }
CustomerAcquisitionQuotaResponse 查询剩余使用量响应
type CustomerAcquisitionRange ¶
type CustomerAcquisitionRange struct { UserList []string `json:"user_list"` DepartmentList []int64 `json:"department_list"` }
CustomerAcquisitionRange 该获客链接使用范围
type CustomerAcquisitionStatisticRequest ¶
type CustomerAcquisitionStatisticRequest struct { LinkID string `json:"link_id"` StartTime int64 `json:"start_time"` EndTime int64 `json:"end_time"` }
CustomerAcquisitionStatisticRequest 查询链接使用详情请求
type CustomerAcquisitionStatisticResponse ¶
type CustomerAcquisitionStatisticResponse struct { util.CommonError ClickLinkCustomerCnt int64 `json:"click_link_customer_cnt"` NewCustomerCnt int64 `json:"new_customer_cnt"` }
CustomerAcquisitionStatisticResponse 查询链接使用详情响应
type CustomerList ¶
type CustomerList struct { ExternalUserid string `json:"external_userid"` Userid string `json:"userid"` ChatStatus int64 `json:"chat_status"` State string `json:"state"` }
CustomerList 客户列表
type DelContactWayRequest ¶
type DelContactWayRequest struct {
ConfigID string `json:"config_id"`
}
DelContactWayRequest 删除企业已配置的「联系我」方式请求
type DelContactWayResponse ¶
type DelContactWayResponse struct {
util.CommonError
}
DelContactWayResponse 删除企业已配置的「联系我」方式响应
type DelCustomerStrategyRequest ¶
type DelCustomerStrategyRequest struct {
StrategyID int `json:"strategy_id"`
}
DelCustomerStrategyRequest 删除规则组请求
type DelGroupWelcomeTemplateRequest ¶
type DelGroupWelcomeTemplateRequest struct { TemplateID string `json:"template_id"` AgentID int `json:"agentid"` }
DelGroupWelcomeTemplateRequest 删除入群欢迎语素材请求
type DelGroupWelcomeTemplateResponse ¶
type DelGroupWelcomeTemplateResponse struct {
util.CommonError
}
DelGroupWelcomeTemplateResponse 删除入群欢迎语素材响应
type DelMomentStrategyRequest ¶
type DelMomentStrategyRequest struct {
StrategyID int `json:"strategy_id"`
}
DelMomentStrategyRequest 删除规则组请求
type DelStrategyTagRequest ¶
type DelStrategyTagRequest struct { TagID []string `json:"tag_id"` GroupID []string `json:"group_id"` }
DelStrategyTagRequest 删除指定规则组下的企业客户标签请求
type DeleteCropTagRequest ¶
type DeleteCropTagRequest struct { TagID []string `json:"tag_id"` GroupID []string `json:"group_id"` AgentID string `json:"agent_id"` }
DeleteCropTagRequest 删除企业标签请求
type DeleteCustomerAcquisitionLinkRequest ¶
type DeleteCustomerAcquisitionLinkRequest struct {
LinkID string `json:"link_id"`
}
DeleteCustomerAcquisitionLinkRequest 删除获客链接请求
type DeleteCustomerAcquisitionLinkResponse ¶
type DeleteCustomerAcquisitionLinkResponse struct {
util.CommonError
}
DeleteCustomerAcquisitionLinkResponse 删除获客链接响应
type EditCropTagRequest ¶
type EditCropTagRequest struct { ID string `json:"id"` Name string `json:"name"` Order int `json:"order"` AgentID string `json:"agent_id"` }
EditCropTagRequest 编辑客户企业标签请求
type EditCustomerStrategyRequest ¶
type EditCustomerStrategyRequest struct { StrategyID int `json:"strategy_id"` StrategyName string `json:"strategy_name"` AdminList []string `json:"admin_list"` Privilege Privilege `json:"privilege"` RangeAdd []Range `json:"range_add"` RangeDel []Range `json:"range_del"` }
EditCustomerStrategyRequest 编辑规则组及其管理范围请求
type EditGroupWelcomeTemplateRequest ¶
type EditGroupWelcomeTemplateRequest struct { TemplateID string `json:"template_id"` Text MsgText `json:"text"` Image *AttachmentImg `json:"image"` Link *AttachmentLink `json:"link"` MiniProgram *AttachmentMiniProgram `json:"miniprogram"` File *AttachmentFile `json:"file"` Video *AttachmentVideo `json:"video"` AgentID int `json:"agentid"` }
EditGroupWelcomeTemplateRequest 编辑入群欢迎语素材请求
type EditGroupWelcomeTemplateResponse ¶
type EditGroupWelcomeTemplateResponse struct {
util.CommonError
}
EditGroupWelcomeTemplateResponse 编辑入群欢迎语素材响应
type EditMomentStrategyRequest ¶
type EditMomentStrategyRequest struct { StrategyID int `json:"strategy_id"` StrategyName string `json:"strategy_name"` AdminList []string `json:"admin_list"` Privilege MomentPrivilege `json:"privilege"` RangeAdd []RangeMomentStrategy `json:"range_add"` RangeDel []RangeMomentStrategy `json:"range_del"` }
EditMomentStrategyRequest 编辑规则组及其管理范围请求
type EditStrategyTagRequest ¶
type EditStrategyTagRequest struct { ID string `json:"id"` Name string `json:"name"` Order int `json:"order"` }
EditStrategyTagRequest 编辑指定规则组下的企业客户标签请求
type EventCallbackMessage ¶
type EventCallbackMessage struct { ToUserName string `json:"to_user_name"` FromUserName string `json:"from_user_name"` CreateTime int64 `json:"create_time"` MsgType string `json:"msg_type"` Event string `json:"event"` ChangeType string `json:"change_type"` UserID string `json:"user_id"` ExternalUserID string `json:"external_user_id"` State string `json:"state"` WelcomeCode string `json:"welcome_code"` }
EventCallbackMessage 微信客户联系回调消息 https://developer.work.weixin.qq.com/document/path/92130
type ExternalAttr ¶
type ExternalAttr struct { Type int `json:"type"` Name string `json:"name"` Text *Text `json:"text,omitempty"` Web *Web `json:"web,omitempty"` MiniProgram *MiniProgram `json:"miniprogram,omitempty"` }
ExternalAttr 属性列表,目前支持文本、网页、小程序三种类型
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 int64 `json:"type"` Gender int64 `json:"gender"` UnionID string `json:"unionid"` ExternalProfile string `json:"external_profile"` }
ExternalContact 批量获取外部联系人用户信息
type ExternalProfile ¶
type ExternalProfile struct { ExternalCorpName string `json:"external_corp_name"` WechatChannels WechatChannels `json:"wechat_channels"` ExternalAttr []ExternalAttr `json:"external_attr"` }
ExternalProfile 外部联系人的自定义展示信息,可以有多个字段和多种类型,包括文本,网页和小程序
type ExternalUser ¶
type ExternalUser struct { ExternalUserID string `json:"external_userid"` Name string `json:"name"` Avatar string `json:"avatar"` Type int64 `json:"type"` Gender int64 `json:"gender"` UnionID string `json:"unionid"` Position string `json:"position"` CorpName string `json:"corp_name"` CorpFullName string `json:"corp_full_name"` ExternalProfile *ExternalProfile `json:"external_profile,omitempty"` }
ExternalUser 外部联系人
type ExternalUserDetailListResponse ¶
type ExternalUserDetailListResponse struct { util.CommonError ExternalContactList []ExternalUserForBatch `json:"external_contact_list"` }
ExternalUserDetailListResponse 批量获取外部联系人详情响应
type ExternalUserDetailResponse ¶
type ExternalUserDetailResponse struct { util.CommonError ExternalContact ExternalUser `json:"external_contact"` FollowUser []FollowUser `json:"follow_user"` NextCursor string `json:"next_cursor"` }
ExternalUserDetailResponse 外部联系人详情响应
type ExternalUserForBatch ¶
type ExternalUserForBatch struct { ExternalContact ExternalContact `json:"external_contact"` FollowInfo FollowInfo `json:"follow_info"` }
ExternalUserForBatch 批量获取外部联系人客户列表
type ExternalUserListResponse ¶
type ExternalUserListResponse struct { util.CommonError ExternalUserID []string `json:"external_userid"` }
ExternalUserListResponse 外部联系人列表响应
type FailedChat ¶
type FailedChat struct { ChatID string `json:"chat_id"` ErrCode int `json:"errcode"` ErrMsg string `json:"errmsg"` }
FailedChat 没能成功继承的群
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"` OperUserID string `json:"oper_userid"` AddWay int64 `json:"add_way"` WeChatChannels WechatChannel `json:"wechat_channels"` }
FollowInfo 批量获取外部联系人跟进人信息
type FollowUser ¶
type FollowUser struct { UserID string `json:"userid"` Remark string `json:"remark"` Description string `json:"description"` CreateTime int64 `json:"createtime"` Tags []Tag `json:"tags"` RemarkCorpName string `json:"remark_corp_name"` RemarkMobiles []string `json:"remark_mobiles"` OperUserID string `json:"oper_userid"` AddWay int64 `json:"add_way"` WeChatChannels WechatChannel `json:"wechat_channels"` State string `json:"state"` }
FollowUser 跟进用户(指企业内部用户)
type GetContactWayRequest ¶
type GetContactWayRequest struct {
ConfigID string `json:"config_id"`
}
GetContactWayRequest 获取企业已配置的「联系我」方式请求
type GetContactWayResponse ¶
type GetContactWayResponse struct { util.CommonError ContactWay ContactWay `json:"contact_way"` }
GetContactWayResponse 获取企业已配置的「联系我」方式响应
type GetCropTagListResponse ¶
type GetCropTagListResponse struct { util.CommonError TagGroup []TagGroup `json:"tag_group"` }
GetCropTagListResponse 获取企业标签列表响应
type GetCropTagRequest ¶
GetCropTagRequest 获取企业标签请求
type GetCustomerAcquisitionRequest ¶
type GetCustomerAcquisitionRequest struct {
LinkID string `json:"link_id"`
}
GetCustomerAcquisitionRequest 获取获客链接详情请求
type GetCustomerAcquisitionResponse ¶
type GetCustomerAcquisitionResponse struct { util.CommonError Link Link `json:"link"` Range CustomerAcquisitionRange `json:"range"` SkipVerify bool `json:"skip_verify"` }
GetCustomerAcquisitionResponse 获取获客链接详情响应
type GetCustomerInfoWithCustomerAcquisitionLinkRequest ¶
type GetCustomerInfoWithCustomerAcquisitionLinkRequest struct { LinkID string `json:"link_id"` Limit int64 `json:"limit"` Cursor string `json:"cursor"` }
GetCustomerInfoWithCustomerAcquisitionLinkRequest 获取由获客链接添加的客户信息请求
type GetCustomerInfoWithCustomerAcquisitionLinkResponse ¶
type GetCustomerInfoWithCustomerAcquisitionLinkResponse struct { util.CommonError CustomerList []CustomerList `json:"customer_list"` NextCursor string `json:"next_cursor"` }
GetCustomerInfoWithCustomerAcquisitionLinkResponse 获取由获客链接添加的客户信息响应
type GetCustomerStrategyRequest ¶
type GetCustomerStrategyRequest struct {
StrategyID int `json:"strategy_id"`
}
GetCustomerStrategyRequest 获取规则组详情请求
type GetCustomerStrategyResponse ¶
type GetCustomerStrategyResponse struct { util.CommonError Strategy Strategy `json:"strategy"` }
GetCustomerStrategyResponse 获取规则组详情响应
type GetGroupChatStatByDayItem ¶
type GetGroupChatStatByDayItem struct { StatTime int `json:"stat_time"` Data GroupChatStatItemData `json:"data"` }
GetGroupChatStatByDayItem 群聊数据统计(按自然日聚合)条目
type GetGroupChatStatByDayRequest ¶
type GetGroupChatStatByDayRequest struct { DayBeginTime int `json:"day_begin_time"` DayEndTime int `json:"day_end_time"` OwnerFilter OwnerFilter `json:"owner_filter"` }
GetGroupChatStatByDayRequest 获取「群聊数据统计」数据 按自然日聚合的方式 请求
type GetGroupChatStatByDayResponse ¶
type GetGroupChatStatByDayResponse struct { util.CommonError Items []GetGroupChatStatByDayItem `json:"items"` }
GetGroupChatStatByDayResponse 获取「群聊数据统计」数据 按自然日聚合的方式 响应
type GetGroupChatStatRequest ¶
type GetGroupChatStatRequest struct { DayBeginTime int `json:"day_begin_time"` DayEndTime int `json:"day_end_time"` OwnerFilter OwnerFilter `json:"owner_filter"` OrderBy int `json:"order_by"` OrderAsc int `json:"order_asc"` Offset int `json:"offset"` Limit int `json:"limit"` }
GetGroupChatStatRequest 获取「群聊数据统计」数据 按群主聚合的方式 请求
type GetGroupChatStatResponse ¶
type GetGroupChatStatResponse struct { util.CommonError Total int `json:"total"` NextOffset int `json:"next_offset"` Items []GroupChatStatItem `json:"items"` }
GetGroupChatStatResponse 获取「群聊数据统计」数据 按群主聚合的方式 响应
type GetGroupMsgListV2Request ¶
type GetGroupMsgListV2Request struct { ChatType string `json:"chat_type"` StartTime int64 `json:"start_time"` EndTime int64 `json:"end_time"` Creator string `json:"creator,omitempty"` FilterType int `json:"filter_type"` Limit int `json:"limit"` Cursor string `json:"cursor"` }
GetGroupMsgListV2Request 获取群发记录列表请求
type GetGroupMsgListV2Response ¶
type GetGroupMsgListV2Response struct { util.CommonError NextCursor string `json:"next_cursor"` GroupMsgList []*GroupMsg `json:"group_msg_list"` }
GetGroupMsgListV2Response 获取群发记录列表响应
type GetGroupMsgSendResultRequest ¶
type GetGroupMsgSendResultRequest struct { MsgID string `json:"msgid"` UserID string `json:"userid"` Limit int `json:"limit"` Cursor string `json:"cursor"` }
GetGroupMsgSendResultRequest 获取企业群发成员执行结果请求
type GetGroupMsgSendResultResponse ¶
type GetGroupMsgSendResultResponse struct { util.CommonError NextCursor string `json:"next_cursor"` SendList []*Send `json:"send_list"` }
GetGroupMsgSendResultResponse 获取企业群发成员执行结果响应
type GetGroupMsgTaskRequest ¶
type GetGroupMsgTaskRequest struct { MsgID string `json:"msgid"` Limit int `json:"limit"` Cursor string `json:"cursor"` }
GetGroupMsgTaskRequest 获取群发成员发送任务列表请求
type GetGroupMsgTaskResponse ¶
type GetGroupMsgTaskResponse struct { util.CommonError NextCursor string `json:"next_cursor"` TaskList []*Task `json:"task_list"` }
GetGroupMsgTaskResponse 获取群发成员发送任务列表响应
type GetGroupWelcomeTemplateRequest ¶
type GetGroupWelcomeTemplateRequest struct {
TemplateID string `json:"template_id"`
}
GetGroupWelcomeTemplateRequest 获取入群欢迎语素材请求
type GetGroupWelcomeTemplateResponse ¶
type GetGroupWelcomeTemplateResponse struct { util.CommonError Text MsgText `json:"text"` Image AttachmentImg `json:"image,omitempty"` Link AttachmentLink `json:"link,omitempty"` MiniProgram AttachmentMiniProgram `json:"miniprogram,omitempty"` File AttachmentFile `json:"file,omitempty"` Video AttachmentVideo `json:"video,omitempty"` }
GetGroupWelcomeTemplateResponse 获取入群欢迎语素材响应
type GetJoinWayResponse ¶
type GetJoinWayResponse struct { util.CommonError JoinWay JoinWay `json:"join_way"` }
GetJoinWayResponse 获取群配置的返回值
type GetMomentCommentsRequest ¶
type GetMomentCommentsRequest struct { MomentID string `json:"moment_id"` UserID string `json:"userid"` }
GetMomentCommentsRequest 获取客户朋友圈的互动数据请求
type GetMomentCommentsResponse ¶
type GetMomentCommentsResponse struct { util.CommonError CommentList []MomentComment `json:"comment_list"` LikeList []MomentLike `json:"like_list"` }
GetMomentCommentsResponse 获取客户朋友圈的互动数据响应
type GetMomentCustomerListRequest ¶
type GetMomentCustomerListRequest struct { MomentID string `json:"moment_id"` UserID string `json:"userid"` Cursor string `json:"cursor"` Limit int `json:"limit"` }
GetMomentCustomerListRequest 获取客户朋友圈发表时选择的可见范围请求
type GetMomentCustomerListResponse ¶
type GetMomentCustomerListResponse struct { util.CommonError NextCursor string `json:"next_cursor"` CustomerList []MomentCustomer `json:"customer_list"` }
GetMomentCustomerListResponse 获取客户朋友圈发表时选择的可见范围响应
type GetMomentListRequest ¶
type GetMomentListRequest struct { StartTime int64 `json:"start_time"` EndTime int64 `json:"end_time"` Creator string `json:"creator"` FilterType int `json:"filter_type"` Cursor string `json:"cursor"` Limit int `json:"limit"` }
GetMomentListRequest 获取企业全部的发表列表请求
type GetMomentListResponse ¶
type GetMomentListResponse struct { util.CommonError NextCursor string `json:"next_cursor"` MomentList []MomentItem `json:"moment_list"` }
GetMomentListResponse 获取企业全部的发表列表响应
type GetMomentSendResultRequest ¶
type GetMomentSendResultRequest struct { MomentID string `json:"moment_id"` UserID string `json:"userid"` Cursor string `json:"cursor"` Limit int `json:"limit"` }
GetMomentSendResultRequest 获取客户朋友圈发表后的可见客户列表请求
type GetMomentSendResultResponse ¶
type GetMomentSendResultResponse struct { util.CommonError NextCursor string `json:"next_cursor"` CustomerList []MomentSendCustomer `json:"customer_list"` }
GetMomentSendResultResponse 获取客户朋友圈发表后的可见客户列表响应
type GetMomentStrategyRequest ¶
type GetMomentStrategyRequest struct {
StrategyID int `json:"strategy_id"`
}
GetMomentStrategyRequest 获取规则组详情请求
type GetMomentStrategyResponse ¶
type GetMomentStrategyResponse struct { util.CommonError Strategy MomentStrategy `json:"strategy"` }
GetMomentStrategyResponse 获取规则组详情响应
type GetMomentTaskRequest ¶
type GetMomentTaskRequest struct { MomentID string `json:"moment_id"` Cursor string `json:"cursor"` Limit int `json:"limit"` }
GetMomentTaskRequest 获取客户朋友圈企业发表的列表请求
type GetMomentTaskResponse ¶
type GetMomentTaskResponse struct { util.CommonError NextCursor string `json:"next_cursor"` TaskList []MomentTask `json:"task_list"` }
GetMomentTaskResponse 获取客户朋友圈企业发表的列表响应
type GetMomentTaskResultResponse ¶
type GetMomentTaskResultResponse struct { util.CommonError Status int `json:"status"` Type string `json:"type"` Result MomentTaskResult `json:"result"` }
GetMomentTaskResultResponse 获取任务创建结果响应
type GetRangeCustomerStrategyRequest ¶
type GetRangeCustomerStrategyRequest struct { StrategyID int `json:"strategy_id"` Cursor string `json:"cursor"` Limit int `json:"limit"` }
GetRangeCustomerStrategyRequest 获取规则组管理范围请求
type GetRangeCustomerStrategyResponse ¶
type GetRangeCustomerStrategyResponse struct { util.CommonError Range []Range `json:"range"` NextCursor string `json:"next_cursor"` }
GetRangeCustomerStrategyResponse 获取规则组管理范围响应
type GetRangeMomentStrategyRequest ¶
type GetRangeMomentStrategyRequest struct { StrategyID int `json:"strategy_id"` Cursor string `json:"cursor"` Limit int `json:"limit"` }
GetRangeMomentStrategyRequest 获取规则组管理范围请求
type GetRangeMomentStrategyResponse ¶
type GetRangeMomentStrategyResponse struct { util.CommonError Range []RangeMomentStrategy `json:"range"` NextCursor string `json:"next_cursor"` }
GetRangeMomentStrategyResponse 获取规则组管理范围响应
type GetStrategyTagListRequest ¶
type GetStrategyTagListRequest struct { StrategyID int `json:"strategy_id"` TagID []string `json:"tag_id"` GroupID []string `json:"group_id"` }
GetStrategyTagListRequest 获取指定规则组下的企业客户标签请求
type GetStrategyTagListResponse ¶
type GetStrategyTagListResponse struct { util.CommonError TagGroup []StrategyTagGroup `json:"tag_group"` }
GetStrategyTagListResponse 获取指定规则组下的企业客户标签响应
type GetUnassignedListRequest ¶
type GetUnassignedListRequest struct { Cursor string `json:"cursor"` PageSize int `json:"page_size"` }
GetUnassignedListRequest 获取待分配的离职成员列表请求
type GetUnassignedListResponse ¶
type GetUnassignedListResponse struct { util.CommonError Info []UnassignedListInfo `json:"info"` IsLast bool `json:"is_last"` NextCursor string `json:"next_cursor"` }
GetUnassignedListResponse 获取待分配的离职成员列表响应
type GetUserBehaviorRequest ¶
type GetUserBehaviorRequest struct { UserID []string `json:"userid"` PartyID []int `json:"partyid"` StartTime int `json:"start_time"` EndTime int `json:"end_time"` }
GetUserBehaviorRequest 获取「联系客户统计」数据请求
type GetUserBehaviorResponse ¶
type GetUserBehaviorResponse struct { util.CommonError BehaviorData []BehaviorData `json:"behavior_data"` }
GetUserBehaviorResponse 获取「联系客户统计」数据响应
type GroupChat ¶
type GroupChat struct { ChatID string `json:"chat_id"` //客户群ID Name string `json:"name"` //群名 Owner string `json:"owner"` //群主ID CreateTime int64 `json:"create_time"` //群的创建时间 Notice string `json:"notice"` //群公告 MemberList []GroupChatMember `json:"member_list"` //群成员列表 AdminList []GroupChatAdmin `json:"admin_list"` //群管理员列表 MemberVersion string `json:"member_version"` //当前群成员版本号。可以配合客户群变更事件减少主动调用本接口的次数 }
GroupChat 客户群详情
type GroupChatAdmin ¶
type GroupChatAdmin struct {
UserID string `json:"userid"` //群管理员userid
}
GroupChatAdmin 群管理员
type GroupChatDetailRequest ¶
type GroupChatDetailRequest struct { ChatID string `json:"chat_id"` NeedName int `json:"need_name"` }
GroupChatDetailRequest 客户群详情 请求参数
type GroupChatDetailResponse ¶
type GroupChatDetailResponse struct { util.CommonError GroupChat GroupChat `json:"group_chat"` //客户群详情 }
GroupChatDetailResponse 客户群详情 返回值
type GroupChatList ¶
GroupChatList 客户群列表
type GroupChatListRequest ¶
type GroupChatListRequest struct { StatusFilter int `json:"status_filter"` // 非必填 客户群跟进状态过滤。0 - 所有列表(即不过滤) 1 - 离职待继承 2 - 离职继承中 3 - 离职继承完成 OwnerFilter OwnerFilter `json:"owner_filter"` //非必填 群主过滤。如果不填,表示获取应用可见范围内全部群主的数据(但是不建议这么用,如果可见范围人数超过1000人,为了防止数据包过大,会报错 81017) Cursor string `json:"cursor"` //非必填 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用不填 Limit int `json:"limit"` //必填 分页,预期请求的数据量,取值范围 1 ~ 1000 }
GroupChatListRequest 获取客户群列表的请求参数
type GroupChatListResponse ¶
type GroupChatListResponse struct { util.CommonError GroupChatList []GroupChatList `json:"group_chat_list"` NextCursor string `json:"next_cursor"` //游标 }
GroupChatListResponse 获取客户群列表的返回值
type GroupChatMember ¶
type GroupChatMember struct { UserID string `json:"userid"` //群成员id Type int `json:"type"` //成员类型。 1 - 企业成员 2 - 外部联系人 JoinTime int `json:"join_time"` //入群时间 JoinScene int `json:"join_scene"` //入群方式 1 - 由群成员邀请入群(直接邀请入群) 2 - 由群成员邀请入群(通过邀请链接入群) 3 - 通过扫描群二维码入群 Invitor Invitor `json:"invitor,omitempty"` //邀请者。目前仅当是由本企业内部成员邀请入群时会返回该值 GroupNickname string `json:"group_nickname"` //在群里的昵称 Name string `json:"name"` //名字。仅当 need_name = 1 时返回 如果是微信用户,则返回其在微信中设置的名字 如果是企业微信联系人,则返回其设置对外展示的别名或实名 UnionID string `json:"unionid,omitempty"` //外部联系人在微信开放平台的唯一身份标识(微信unionid),通过此字段企业可将外部联系人与公众号/小程序用户关联起来。仅当群成员类型是微信用户(包括企业成员未添加好友),且企业绑定了微信开发者ID有此字段(查看绑定方法)。第三方不可获取,上游企业不可获取下游企业客户的unionid字段 State string `json:"state,omitempty"` //如果在配置入群方式时,配置了state参数,那么在获取客户群详情时,通过该方式入群的成员,会额外获取到相应的state参数 }
GroupChatMember 群成员
type GroupChatOnJobTransferRequest ¶
type GroupChatOnJobTransferRequest struct { ChatIDList []string `json:"chat_id_list"` NewOwner string `json:"new_owner"` }
GroupChatOnJobTransferRequest 分配在职成员的客户群请求
type GroupChatOnJobTransferResponse ¶
type GroupChatOnJobTransferResponse struct { util.CommonError FailedChatList []FailedChat `json:"failed_chat_list"` }
GroupChatOnJobTransferResponse 分配在职成员的客户群响应
type GroupChatStatItem ¶
type GroupChatStatItem struct { Owner string `json:"owner"` Data GroupChatStatItemData `json:"data"` }
GroupChatStatItem 群聊数据统计(按群主聚合)条目
type GroupChatStatItemData ¶
type GroupChatStatItemData 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"` }
GroupChatStatItemData 群聊数据统计条目数据
type GroupChatTransferRequest ¶
type GroupChatTransferRequest struct { ChatIDList []string `json:"chat_id_list"` NewOwner string `json:"new_owner"` }
GroupChatTransferRequest 分配离职成员的客户群请求
type GroupChatTransferResponse ¶
type GroupChatTransferResponse struct { util.CommonError FailedChatList []FailedChat `json:"failed_chat_list"` }
GroupChatTransferResponse 分配离职成员的客户群响应
type GroupMsg ¶
type GroupMsg struct { MsgID string `json:"msgid"` Creator string `json:"creator"` CreateTime int64 `json:"create_time"` CreateType int `json:"create_type"` Text MsgText `json:"text"` Attachments []*Attachment `json:"attachments"` }
GroupMsg 群发消息
type JoinWay ¶
type JoinWay struct { ConfigID string `json:"config_id"` Scene int `json:"scene"` Remark string `json:"remark"` AutoCreateRoom int `json:"auto_create_room"` RoomBaseName string `json:"room_base_name"` RoomBaseID int `json:"room_base_id"` ChatIDList []string `json:"chat_id_list"` QrCode string `json:"qr_code"` State string `json:"state"` }
JoinWay 群配置
type JoinWayConfigRequest ¶
type JoinWayConfigRequest struct {
ConfigID string `json:"config_id"`
}
JoinWayConfigRequest 获取或删除群配置的请求参数
type Link ¶
type Link struct { LinkID string `json:"link_id"` LinkName string `json:"link_name"` URL string `json:"url"` CreateTime int64 `json:"create_time"` }
Link 获客链接
type ListContactWayRequest ¶
type ListContactWayRequest struct { StartTime int `json:"start_time"` EndTime int `json:"end_time"` Cursor string `json:"cursor"` Limit int `json:"limit"` }
ListContactWayRequest 获取企业已配置的「联系我」列表请求
type ListContactWayResponse ¶
type ListContactWayResponse struct { util.CommonError ContactWay []*ContactWayForList `json:"contact_way"` NextCursor string `json:"next_cursor"` }
ListContactWayResponse 获取企业已配置的「联系我」列表响应
type ListCustomerStrategyRequest ¶
ListCustomerStrategyRequest 获取规则组列表请求
type ListCustomerStrategyResponse ¶
type ListCustomerStrategyResponse struct { util.CommonError Strategy []StrategyID `json:"strategy"` NextCursor string `json:"next_cursor"` }
ListCustomerStrategyResponse 获取规则组列表响应
type ListLinkRequest ¶
ListLinkRequest 获取获客链接列表请求
type ListLinkResponse ¶
type ListLinkResponse struct { util.CommonError LinkIDList []string `json:"link_id_list"` NextCursor string `json:"next_cursor"` }
ListLinkResponse 获取获客链接列表响应
type ListMomentStrategyRequest ¶
ListMomentStrategyRequest 获取规则组列表请求
type ListMomentStrategyResponse ¶
type ListMomentStrategyResponse struct { util.CommonError Strategy []MomentStrategyID `json:"strategy"` NextCursor string `json:"next_cursor"` }
ListMomentStrategyResponse 获取规则组列表响应
type MarkTagRequest ¶
type MarkTagRequest struct { UserID string `json:"userid"` ExternalUserID string `json:"external_userid"` AddTag []string `json:"add_tag"` RemoveTag []string `json:"remove_tag"` }
MarkTagRequest 给客户打标签请求 相关文档地址:https://developer.work.weixin.qq.com/document/path/92118
type MiniProgram ¶
type MiniProgram struct { AppID string `json:"appid"` Pagepath string `json:"pagepath"` Title string `json:"title"` }
MiniProgram 小程序
type MomentComment ¶
type MomentComment struct { ExternalUserID string `json:"external_userid,omitempty"` UserID string `json:"userid,omitempty"` CreateTime int64 `json:"create_time"` }
MomentComment 朋友圈评论
type MomentCustomer ¶
type MomentCustomer struct { UserID string `json:"userid"` ExternalUserID string `json:"external_userid"` }
MomentCustomer 成员可见客户列表
type MomentExternalContactList ¶
type MomentExternalContactList struct {
TagList []string `json:"tag_list"`
}
MomentExternalContactList 可见到该朋友圈的客户列表
type MomentInvalidExternalContactList ¶
type MomentInvalidExternalContactList struct {
TagList []string `json:"tag_list"`
}
MomentInvalidExternalContactList 不合法的可见到该朋友圈的客户列表
type MomentInvalidSenderList ¶
type MomentInvalidSenderList struct { UserList []string `json:"user_list"` DepartmentList []int `json:"department_list"` }
MomentInvalidSenderList 不合法的执行者列表
type MomentItem ¶
type MomentItem struct { MomentID string `json:"moment_id"` Creator string `json:"creator"` CreateTime int64 `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"` }
MomentItem 朋友圈
type MomentLike ¶
type MomentLike struct { ExternalUserID string `json:"external_userid,omitempty"` UserID string `json:"userid,omitempty"` CreateTime int64 `json:"create_time"` }
MomentLike 朋友圈点赞
type MomentLink ¶
MomentLink 朋友圈网页链接
type MomentLocation ¶
type MomentLocation struct { Latitude string `json:"latitude"` Longitude string `json:"longitude"` Name string `json:"name"` }
MomentLocation 朋友圈地理位置
type MomentPrivilege ¶
type MomentPrivilege struct { ViewMomentList bool `json:"view_moment_list"` SendMoment bool `json:"send_moment"` ManageMomentCoverAndSign bool `json:"manage_moment_cover_and_sign"` }
MomentPrivilege 规则组权限
type MomentSendCustomer ¶
type MomentSendCustomer struct {
ExternalUserID string `json:"external_userid"`
}
MomentSendCustomer 成员发送成功客户
type MomentSenderList ¶
type MomentSenderList struct { UserList []string `json:"user_list"` DepartmentList []int `json:"department_list"` }
MomentSenderList 发表任务的执行者列表
type MomentStrategy ¶
type MomentStrategy struct { StrategyID int `json:"strategy_id"` ParentID int `json:"parent_id"` StrategyName string `json:"strategy_name"` CreateTime int64 `json:"create_time"` AdminList []string `json:"admin_list"` Privilege MomentPrivilege `json:"privilege"` }
MomentStrategy 规则组
type MomentStrategyID ¶
type MomentStrategyID struct {
StrategyID int `json:"strategy_id"`
}
MomentStrategyID 规则组ID
type MomentTask ¶
MomentTask 发表任务
type MomentTaskAttachment ¶
type MomentTaskAttachment struct { MsgType string `json:"msgtype"` Image MomentTaskImage `json:"image,omitempty"` Video MomentTaskVideo `json:"video,omitempty"` Link MomentTaskLink `json:"link,omitempty"` }
MomentTaskAttachment 发表任务附件
type MomentTaskImage ¶
type MomentTaskImage struct {
MediaID string `json:"media_id"`
}
MomentTaskImage 发表任务图片消息
type MomentTaskLink ¶
type MomentTaskLink struct { Title string `json:"title"` URL string `json:"url"` MediaID string `json:"media_id"` }
MomentTaskLink 发表任务图文消息
type MomentTaskResult ¶
type MomentTaskResult struct { ErrCode int64 `json:"errcode"` ErrMsg string `json:"errmsg"` MomentID string `json:"moment_id"` InvalidSenderList MomentInvalidSenderList `json:"invalid_sender_list"` InvalidExternalContactList MomentInvalidExternalContactList `json:"invalid_external_contact_list"` }
MomentTaskResult 任务创建结果
type MomentTaskText ¶
type MomentTaskText struct {
Content string `json:"content"`
}
MomentTaskText 发表任务文本消息
type MomentTaskVideo ¶
type MomentTaskVideo struct {
MediaID string `json:"media_id"`
}
MomentTaskVideo 发表任务视频消息
type MomentVideo ¶
type MomentVideo struct { MediaID string `json:"media_id"` ThumbMediaID string `json:"thumb_media_id"` }
MomentVideo 朋友圈视频
type MomentVisibleRange ¶
type MomentVisibleRange struct { SenderList MomentSenderList `json:"sender_list"` ExternalContactList MomentExternalContactList `json:"external_contact_list"` }
MomentVisibleRange 朋友圈指定的发表范围
type OpengIDToChatIDRequest ¶
type OpengIDToChatIDRequest struct {
OpengID string `json:"opengid"`
}
OpengIDToChatIDRequest 客户群opengid转换 请求参数
type OpengIDToChatIDResponse ¶
type OpengIDToChatIDResponse struct { util.CommonError ChatID string `json:"chat_id"` //客户群ID }
OpengIDToChatIDResponse 客户群opengid转换 返回值
type OwnerFilter ¶
type OwnerFilter struct {
UseridList []string `json:"userid_list"`
}
OwnerFilter 群主过滤
type Privilege ¶
type Privilege 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"` }
Privilege 权限
type Range ¶
type Range struct { Type int `json:"type"` UserID string `json:"userid,omitempty"` PartyID int `json:"partyid,omitempty"` }
Range 管理范围节点
type RangeMomentStrategy ¶
type RangeMomentStrategy struct { Type int `json:"type"` UserID string `json:"userid,omitempty"` PartyID int `json:"partyid,omitempty"` }
RangeMomentStrategy 管理范围内配置的成员或部门
type RemindGroupMsgSendRequest ¶
type RemindGroupMsgSendRequest struct {
MsgID string `json:"msgid"`
}
RemindGroupMsgSendRequest 提醒成员群发请求
type ResignedTransferCustomerRequest ¶
type ResignedTransferCustomerRequest struct { HandoverUserID string `json:"handover_userid"` TakeoverUserID string `json:"takeover_userid"` ExternalUserID []string `json:"external_userid"` }
ResignedTransferCustomerRequest 分配离职成员的客户请求
type ResignedTransferCustomerResponse ¶
type ResignedTransferCustomerResponse struct { util.CommonError Customer []TransferCustomerItem `json:"customer"` }
ResignedTransferCustomerResponse 分配离职成员的客户响应
type ResignedTransferResultRequest ¶
type ResignedTransferResultRequest struct { HandoverUserID string `json:"handover_userid"` TakeoverUserID string `json:"takeover_userid"` Cursor string `json:"cursor"` }
ResignedTransferResultRequest 查询离职客户接替状态请求
type ResignedTransferResultResponse ¶
type ResignedTransferResultResponse struct { util.CommonError Customer []TransferResultItem `json:"customer"` NextCursor string `json:"next_cursor"` }
ResignedTransferResultResponse 查询离职客户接替状态响应
type Send ¶
type Send struct { ExternalUserID string `json:"external_userid"` ChatID string `json:"chat_id"` UserID string `json:"userid"` Status int `json:"status"` SendTime int `json:"send_time"` }
Send 企业群发成员执行结果
type SendWelcomeMsgRequest ¶
type SendWelcomeMsgRequest struct { WelcomeCode string `json:"welcome_code"` Text MsgText `json:"text"` Attachments []*Attachment `json:"attachments"` }
SendWelcomeMsgRequest 发送新客户欢迎语请求
type SendWelcomeMsgResponse ¶
type SendWelcomeMsgResponse struct {
util.CommonError
}
SendWelcomeMsgResponse 发送新客户欢迎语响应
type Strategy ¶
type Strategy struct { StrategyID int `json:"strategy_id"` ParentID int `json:"parent_id"` StrategyName string `json:"strategy_name"` CreateTime int64 `json:"create_time"` AdminList []string `json:"admin_list"` Privilege Privilege `json:"privilege"` }
Strategy 规则组
type StrategyTag ¶
type StrategyTag struct { ID string `json:"id"` Name string `json:"name"` CreateTime int64 `json:"create_time"` Order int `json:"order"` }
StrategyTag 规则组下的企业标签
type StrategyTagGroup ¶
type StrategyTagGroup struct { GroupID string `json:"group_id"` GroupName string `json:"group_name"` CreateTime int64 `json:"create_time"` Order int `json:"order"` StrategyID int `json:"strategy_id"` Tag []StrategyTag `json:"tag"` }
StrategyTagGroup 规则组下的企业标签组
type Tag ¶
type Tag struct { GroupName string `json:"group_name"` TagName string `json:"tag_name"` Type int64 `json:"type"` TagID string `json:"tag_id"` }
Tag 已绑定在外部联系人的标签
type TagFilter ¶
type TagFilter struct {
GroupList []TagGroupList `json:"group_list"`
}
TagFilter 标签过滤
type TagGroup ¶
type TagGroup struct { GroupID string `json:"group_id"` GroupName string `json:"group_name"` CreateTime int64 `json:"create_time"` GroupOrder int `json:"group_order"` Deleted bool `json:"deleted"` Tag []TagGroupTagItem `json:"tag"` }
TagGroup 企业标签组
type TagGroupList ¶
type TagGroupList struct {
TagList []string `json:"tag_list"`
}
TagGroupList 标签组
type TagGroupTagItem ¶
type TagGroupTagItem struct { ID string `json:"id"` Name string `json:"name"` CreateTime int64 `json:"create_time"` Order int `json:"order"` Deleted bool `json:"deleted"` }
TagGroupTagItem 企业标签内的子项
type Task ¶
type Task struct { UserID string `json:"userid"` Status int `json:"status"` SendTime int `json:"send_time"` }
Task 获取群发成员发送任务列表任务
type TransferCustomerItem ¶
type TransferCustomerItem struct { ExternalUserID string `json:"external_userid"` ErrCode int `json:"errcode"` }
TransferCustomerItem 客户分配结果
type TransferCustomerRequest ¶
type TransferCustomerRequest struct { HandoverUserID string `json:"handover_userid"` TakeoverUserID string `json:"takeover_userid"` ExternalUserID []string `json:"external_userid"` TransferSuccessMsg string `json:"transfer_success_msg"` }
TransferCustomerRequest 分配在职成员的客户请求
type TransferCustomerResponse ¶
type TransferCustomerResponse struct { util.CommonError Customer []TransferCustomerItem `json:"customer"` }
TransferCustomerResponse 分配在职成员的客户请求响应
type TransferResultItem ¶
type TransferResultItem struct { ExternalUserID string `json:"external_userid"` Status int `json:"status"` TakeoverTime int64 `json:"takeover_time"` }
TransferResultItem 客户接替状态
type TransferResultRequest ¶
type TransferResultRequest struct { HandoverUserID string `json:"handover_userid"` TakeoverUserID string `json:"takeover_userid"` Cursor string `json:"cursor"` }
TransferResultRequest 查询客户接替状态请求
type TransferResultResponse ¶
type TransferResultResponse struct { util.CommonError Customer []TransferResultItem `json:"customer"` NextCursor string `json:"next_cursor"` }
TransferResultResponse 查询客户接替状态响应
type UnassignedListInfo ¶
type UnassignedListInfo struct { HandoverUserID string `json:"handover_userid"` ExternalUserID string `json:"external_userid"` DimissionTime int64 `json:"dimission_time"` }
UnassignedListInfo 离职成员信息
type UpdateContactWayRequest ¶
type UpdateContactWayRequest struct { ConfigID string `json:"config_id"` Remark string `json:"remark"` SkipVerify bool `json:"skip_verify"` Style int `json:"style"` State string `json:"state"` User []string `json:"user"` Party []int `json:"party"` ExpiresIn int `json:"expires_in"` ChatExpiresIn int `json:"chat_expires_in"` UnionID string `json:"unionid"` Conclusions ConclusionsRequest `json:"conclusions"` }
UpdateContactWayRequest 更新企业已配置的「联系我」方式请求
type UpdateContactWayResponse ¶
type UpdateContactWayResponse struct {
util.CommonError
}
UpdateContactWayResponse 更新企业已配置的「联系我」方式响应
type UpdateCustomerAcquisitionLinkRequest ¶
type UpdateCustomerAcquisitionLinkRequest struct { LinkID string `json:"link_id"` LinkName string `json:"link_name"` Range CustomerAcquisitionRange `json:"range"` SkipVerify bool `json:"skip_verify"` }
UpdateCustomerAcquisitionLinkRequest 编辑获客链接请求
type UpdateCustomerAcquisitionLinkResponse ¶
type UpdateCustomerAcquisitionLinkResponse struct {
util.CommonError
}
UpdateCustomerAcquisitionLinkResponse 编辑获客链接响应
type UpdateJoinWayRequest ¶
type UpdateJoinWayRequest struct { ConfigID string `json:"config_id"` Scene int `json:"scene"` // 必填 1 - 群的小程序插件,2 - 群的二维码插件 Remark string `json:"remark"` //非必填 联系方式的备注信息,用于助记,超过30个字符将被截断 AutoCreateRoom int `json:"auto_create_room"` //非必填 当群满了后,是否自动新建群。0-否;1-是。 默认为1 RoomBaseName string `json:"room_base_name"` //非必填 自动建群的群名前缀,当auto_create_room为1时有效。最长40个utf8字符 RoomBaseID int `json:"room_base_id"` //非必填 自动建群的群起始序号,当auto_create_room为1时有效 ChatIDList []string `json:"chat_id_list"` //必填 使用该配置的客户群ID列表,支持5个。见客户群ID获取方法 State string `json:"state"` //非必填 企业自定义的state参数,用于区分不同的入群渠道。不超过30个UTF-8字符 }
UpdateJoinWayRequest 更新群配置的请求参数
type UpdateUserRemarkRequest ¶
type UpdateUserRemarkRequest 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"` }
UpdateUserRemarkRequest 修改客户备注信息请求体
type WechatChannel ¶
WechatChannel 视频号添加的场景
type WechatChannels ¶
WechatChannels 视频号属性。须从企业绑定到企业微信的视频号中选择,可在“我的企业”页中查看绑定的视频号