tag

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 4 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 {
	*kernel.BaseClient
}

func NewClient

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

func (*Client) Create

func (comp *Client) Create(tagName string, tagID int64) (*response.ResponseTagCreate, error)

创建标签 https://developer.work.weixin.qq.com/document/path/90210

func (*Client) Delete

func (comp *Client) Delete(tagID string) (*response2.ResponseWork, error)

删除标签 https://developer.work.weixin.qq.com/document/path/90198

func (*Client) Get

func (comp *Client) Get(tagID string) (*response.ResponseTagDetail, error)

获取标签成员 https://developer.work.weixin.qq.com/document/path/90196

func (*Client) List

func (comp *Client) List() (*response.ResponseTagList, error)

获取标签列表 https://developer.work.weixin.qq.com/document/path/90216

func (*Client) TagDepartments

func (comp *Client) TagDepartments(tagID int64, partyList []string) (*response.ResponseTagCreateUser, error)

获取标签成员 https://developer.work.weixin.qq.com/document/path/90196

func (*Client) TagOrUntagUsers

func (comp *Client) TagOrUntagUsers(endpoint string, tagID int64, userList []string, partyList []string) (*response.ResponseTagCreateUser, error)

func (*Client) TagUsers

func (comp *Client) TagUsers(tagID int64, userList []string) (*response.ResponseTagCreateUser, error)

获取标签成员 https://developer.work.weixin.qq.com/document/path/90196

func (*Client) Update

func (comp *Client) Update(tagName string, tagID int64) (*response2.ResponseWork, error)

更新标签名字 https://developer.work.weixin.qq.com/document/path/90211

Jump to

Keyboard shortcuts

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