tag

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: 5 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) 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) Get

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

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

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

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

func (*Client) TagUsers

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

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

func (*Client) Update

func (comp *Client) Update(ctx context.Context, 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