Documentation ¶
Index ¶
- type Client
- func (comp *Client) Create(name string) (*response.ResponseTagGet, error)
- func (comp *Client) Delete(tagID string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) List() (*response.ResponseTagGetList, error)
- func (comp *Client) TagUsers(openIDs []string, tagID string) (*response.ResponseTagUsers, error)
- func (comp *Client) UntagUsers(openIDs []string, tagID string) (*response.ResponseUntagUsers, error)
- func (comp *Client) Update(tagID string, name string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) UserTags(openID string) (*response.ResponseUserTags, error)
- func (comp *Client) UsersOfTag(tagID string, nextOpenID string) (*response.ResponseUserOfTag, 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 ¶
func (comp *Client) Create(name string) (*response.ResponseTagGet, error)
创建标签 https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html
func (*Client) Delete ¶
func (comp *Client) Delete(tagID string) (*response2.ResponseOfficialAccount, error)
删除标签 https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html
func (*Client) List ¶
func (comp *Client) List() (*response.ResponseTagGetList, error)
获取公众号已创建的标签 https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html
func (*Client) TagUsers ¶
批量为用户打标签 https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html
func (*Client) UntagUsers ¶
func (comp *Client) UntagUsers(openIDs []string, tagID string) (*response.ResponseUntagUsers, error)
批量为用户取消标签 https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html
func (*Client) Update ¶
用户标签管理 https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html
func (*Client) UserTags ¶
func (comp *Client) UserTags(openID string) (*response.ResponseUserTags, error)
获取用户身上的标签列表 https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html
func (*Client) UsersOfTag ¶
func (comp *Client) UsersOfTag(tagID string, nextOpenID string) (*response.ResponseUserOfTag, error)
获取标签下粉丝列表 https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html