Documentation ¶
Index ¶
- type Client
- func (comp *Client) Create(ctx context.Context, tagName string, tagID int64) (*response.ResponseTagCreate, error)
- func (comp *Client) Delete(ctx context.Context, tagID string) (*response2.ResponseWork, error)
- func (comp *Client) Get(ctx context.Context, tagID string) (*response.ResponseTagDetail, error)
- func (comp *Client) List(ctx context.Context) (*response.ResponseTagList, error)
- func (comp *Client) TagDepartments(ctx context.Context, tagID int64, partyList []string) (*response.ResponseTagCreateUser, error)
- func (comp *Client) TagOrUntagUsers(ctx context.Context, endpoint string, tagID int64, userList []string, ...) (*response.ResponseTagCreateUser, error)
- func (comp *Client) TagUsers(ctx context.Context, tagID int64, userList []string) (*response.ResponseTagCreateUser, error)
- func (comp *Client) Update(ctx context.Context, tagName string, tagID int64) (*response2.ResponseWork, error)
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 (*Client) Create ¶
func (comp *Client) Create(ctx context.Context, tagName string, tagID int64) (*response.ResponseTagCreate, error)
创建标签 https://developer.work.weixin.qq.com/document/path/90210
func (*Client) Delete ¶
删除标签 https://developer.work.weixin.qq.com/document/path/90198
func (*Client) Get ¶
获取标签成员 https://developer.work.weixin.qq.com/document/path/90196
func (*Client) List ¶
获取标签列表 https://developer.work.weixin.qq.com/document/path/90216
func (*Client) TagDepartments ¶
func (comp *Client) TagDepartments(ctx context.Context, tagID int64, partyList []string) (*response.ResponseTagCreateUser, error)
获取标签成员 https://developer.work.weixin.qq.com/document/path/90196
func (*Client) TagOrUntagUsers ¶
Click to show internal directories.
Click to hide internal directories.