Documentation ¶
Index ¶
- type Client
- func (comp *Client) Create(tagName string, tagID int64) (*response.ResponseTagCreate, error)
- func (comp *Client) Delete(tagID string) (*response2.ResponseWork, error)
- func (comp *Client) Get(tagID string) (*response.ResponseTagDetail, error)
- func (comp *Client) List() (*response.ResponseTagList, error)
- func (comp *Client) TagDepartments(tagID int64, partyList []string) (*response.ResponseTagCreateUser, error)
- func (comp *Client) TagOrUntagUsers(endpoint string, tagID int64, userList []string, partyList []string) (*response.ResponseTagCreateUser, error)
- func (comp *Client) TagUsers(tagID int64, userList []string) (*response.ResponseTagCreateUser, error)
- func (comp *Client) Update(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 {
*kernel.BaseClient
}
func NewClient ¶
func NewClient(app kernel.ApplicationInterface) *Client
func (*Client) Create ¶
创建标签 https://open.work.weixin.qq.com/api/doc/90000/90135/90210
func (*Client) Delete ¶
func (comp *Client) Delete(tagID string) (*response2.ResponseWork, error)
删除标签 https://open.work.weixin.qq.com/api/doc/90000/90135/90198
func (*Client) Get ¶
func (comp *Client) Get(tagID string) (*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 (*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 ¶
更新标签名字 https://open.work.weixin.qq.com/api/doc/90000/90135/90211
Click to show internal directories.
Click to hide internal directories.