Documentation ¶
Index ¶
- type Client
- func (comp *Client) BatchGet(ctx context.Context, data *request.RequestBatchGetUserInfo) (*response.ResponseBatchGetUserInfo, error)
- func (comp *Client) Blacklist(ctx context.Context, beginOpenID string) (*response.ResponseBlacklist, error)
- func (comp *Client) Block(ctx context.Context, openIDList []string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) ChangeOpenID(ctx context.Context, fromAppID string, openIDList []string) (*response.ResponseChangeOpenID, error)
- func (comp *Client) Get(ctx context.Context, openID string, lang string) (*response.ResponseGetUserInfo, error)
- func (comp *Client) List(ctx context.Context, nextOpenID string) (*response.ResponseGetUserList, error)
- func (comp *Client) Remark(ctx context.Context, openID string, remark string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) Unblock(ctx context.Context, openIDList []string) (*response2.ResponseOfficialAccount, error)
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 RegisterProvider ¶
func (*Client) BatchGet ¶
func (comp *Client) BatchGet(ctx context.Context, data *request.RequestBatchGetUserInfo) (*response.ResponseBatchGetUserInfo, error)
func (*Client) Blacklist ¶
func (comp *Client) Blacklist(ctx context.Context, beginOpenID string) (*response.ResponseBlacklist, error)
黑名单管理 https://developers.weixin.qq.com/doc/offiaccount/User_Management/Manage_blacklist.html
func (*Client) Block ¶
func (comp *Client) Block(ctx context.Context, openIDList []string) (*response2.ResponseOfficialAccount, error)
拉黑用户 https://developers.weixin.qq.com/doc/offiaccount/User_Management/Manage_blacklist.html
func (*Client) ChangeOpenID ¶
func (comp *Client) ChangeOpenID(ctx context.Context, fromAppID string, openIDList []string) (*response.ResponseChangeOpenID, error)
帐号迁移 转换 openid https://developers.weixin.qq.com/doc/offiaccount/User_Management/Getting_a_User_List.html
func (*Client) Get ¶
func (*Client) List ¶
func (comp *Client) List(ctx context.Context, nextOpenID string) (*response.ResponseGetUserList, error)
获取用户列表 https://developers.weixin.qq.com/doc/offiaccount/User_Management/Getting_a_User_List.html
func (*Client) Remark ¶
func (comp *Client) Remark(ctx context.Context, openID string, remark string) (*response2.ResponseOfficialAccount, error)
设置用户备注名 https://developers.weixin.qq.com/doc/offiaccount/User_Management/Configuring_user_notes.html
func (*Client) Unblock ¶
func (comp *Client) Unblock(ctx context.Context, openIDList []string) (*response2.ResponseOfficialAccount, error)
取消拉黑用户 https://developers.weixin.qq.com/doc/offiaccount/User_Management/Manage_blacklist.html
Click to show internal directories.
Click to hide internal directories.