tag

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: May 6, 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

func (*Client) Create

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

创建标签 https://open.work.weixin.qq.com/api/doc/90000/90135/90210

func (*Client) Delete

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

删除标签 https://open.work.weixin.qq.com/api/doc/90000/90135/90198

func (*Client) Get

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

获取标签成员 https://open.work.weixin.qq.com/api/doc/90000/90135/90196

func (*Client) List

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

获取标签列表 https://open.work.weixin.qq.com/api/doc/90000/90135/90216

func (*Client) TagDepartments

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

获取标签成员 https://open.work.weixin.qq.com/api/doc/90000/90135/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://open.work.weixin.qq.com/api/doc/90000/90135/90196

func (*Client) Update

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

更新标签名字 https://open.work.weixin.qq.com/api/doc/90000/90135/90211

Jump to

Keyboard shortcuts

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