Documentation ¶
Index ¶
- type Client
- func (comp *Client) BatchGet(userID []string, cursor string, limit int) (*response.ResponseBatchGetByUser, error)
- func (comp *Client) Get(externalUserID string, cursor string) (*weCom.ResponseGetExternalContact, error)
- func (comp *Client) GetFollowUsers() (*response.ResponseGetFollowUserList, error)
- func (comp *Client) GetResignedTransferResult(handoverUserID string, takeoverUserID string, cursor string) (*response.ResponseGetTransferedCustomerList, error)
- func (comp *Client) GetUnassigned(pageID int, pageSize int) (*response.ResponseGetUnassignedList, error)
- func (comp *Client) List(userID string) (*response.ResponseGetList, error)
- func (comp *Client) Remark(data *request.RequestExternalContactRemark) (*response2.ResponseWork, error)
- func (comp *Client) Transfer(externalUserID []string, handoverUserID string, takeoverUserID string) (*response.ResponseGetTransferedCustomerList, error)
- func (comp *Client) TransferGroupChat(chatIDs []string, newOwner string) (*response3.ResponseGroupChatTransfer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*kernel.BaseClient
}
func NewClient ¶
func NewClient(app kernel.ApplicationInterface) *Client
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) ( *Client, *contactWay.Client, *customerStrategy.Client, *groupChat.Client, *groupWelcomeTemplate.Client, *messageTemplate.Client, *moment.Client, *momentStrategy.Client, *school.Client, *statistics.Client, *tag.Client, *transfer.Client, )
func (*Client) BatchGet ¶
func (comp *Client) BatchGet(userID []string, cursor string, limit int) (*response.ResponseBatchGetByUser, error)
批量获取客户详情. https://open.work.weixin.qq.com/api/doc/90000/90135/92994
func (*Client) Get ¶
func (comp *Client) Get(externalUserID string, cursor string) (*weCom.ResponseGetExternalContact, error)
获取外部联系人详情. https://work.weixin.qq.com/api/doc/90000/90135/92114
func (*Client) GetFollowUsers ¶
func (comp *Client) GetFollowUsers() (*response.ResponseGetFollowUserList, error)
获取配置了客户联系功能的成员列表. https://work.weixin.qq.com/api/doc/90000/90135/92571
func (*Client) GetResignedTransferResult ¶
func (comp *Client) GetResignedTransferResult(handoverUserID string, takeoverUserID string, cursor string) (*response.ResponseGetTransferedCustomerList, error)
查询客户接替结果. https://work.weixin.qq.com/api/doc/90000/90135/94082
func (*Client) GetUnassigned ¶
func (comp *Client) GetUnassigned(pageID int, pageSize int) (*response.ResponseGetUnassignedList, error)
获取离职成员的客户列表. https://work.weixin.qq.com/api/doc#90000/90135/91563
func (*Client) List ¶
func (comp *Client) List(userID string) (*response.ResponseGetList, error)
获取外部联系人列表. https://work.weixin.qq.com/api/doc/90000/90135/92113
func (*Client) Remark ¶
func (comp *Client) Remark(data *request.RequestExternalContactRemark) (*response2.ResponseWork, error)
修改客户备注信息. https://work.weixin.qq.com/api/doc/90000/90135/92115
func (*Client) Transfer ¶
func (comp *Client) Transfer(externalUserID []string, handoverUserID string, takeoverUserID string) (*response.ResponseGetTransferedCustomerList, error)
离职成员的外部联系人再分配. https://developer.work.weixin.qq.com/document/path/94081
func (*Client) TransferGroupChat ¶
func (comp *Client) TransferGroupChat(chatIDs []string, newOwner string) (*response3.ResponseGroupChatTransfer, error)
离职成员的群再分配. https://work.weixin.qq.com/api/doc/90000/90135/92127
Click to show internal directories.
Click to hide internal directories.