externalContact

package
v3.0.0-...-471bf3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BaseClient *kernel.BaseClient
}

func NewClient

func NewClient(app kernel.ApplicationInterface) (*Client, error)

func (*Client) BatchGet

func (comp *Client) BatchGet(ctx context.Context, userID []string, cursor string, limit int) (*response.ResponseBatchGetByUser, error)

批量获取客户详情. https://developer.work.weixin.qq.com/document/path/92994

func (*Client) Get

func (comp *Client) Get(ctx context.Context, externalUserID string, cursor string) (*weCom.ResponseGetExternalContact, error)

获取外部联系人详情. https://developer.work.weixin.qq.com/document/path/92114

func (*Client) GetFollowUsers

func (comp *Client) GetFollowUsers(ctx context.Context) (*response.ResponseGetFollowUserList, error)

获取配置了客户联系功能的成员列表. https://developer.work.weixin.qq.com/document/path/92571

func (*Client) GetResignedTransferResult

func (comp *Client) GetResignedTransferResult(ctx context.Context, handoverUserID string, takeoverUserID string, cursor string) (*response.ResponseGetTransferedCustomerList, error)

查询客户接替结果. https://developer.work.weixin.qq.com/document/path/94082

func (*Client) GetUnassigned

func (comp *Client) GetUnassigned(ctx context.Context, pageID int, pageSize int) (*response.ResponseGetUnassignedList, error)

获取待分配的离职成员列表 https://developer.work.weixin.qq.com/document/path/92124

func (*Client) List

func (comp *Client) List(ctx context.Context, userID string) (*response.ResponseGetList, error)

获取外部联系人列表. https://developer.work.weixin.qq.com/document/path/92113

func (*Client) Transfer

func (comp *Client) Transfer(ctx context.Context, 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(ctx context.Context, chatIDs []string, newOwner string) (*response3.ResponseGroupChatTransfer, error)

分配离职成员的客户群 https://developer.work.weixin.qq.com/document/path/92127

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL