Documentation ¶
Index ¶
- type Client
- func (comp *Client) Create(ctx context.Context, options *request.RequestCustomerStrategyCreate) (*response.ResponseCustomerStrategyCreate, error)
- func (comp *Client) Del(ctx context.Context, strategyID int64) (*response2.ResponseWork, error)
- func (comp *Client) Edit(ctx context.Context, options *request.RequestCustomerStrategyEdit) (*response2.ResponseWork, error)
- func (comp *Client) Get(ctx context.Context, strategyID int64) (*response.ResponseCustomerStrategyGet, error)
- func (comp *Client) GetRange(ctx context.Context, strategyID int64, cursor string, limit int64) (*response.ResponseCustomerStrategyGetRange, error)
- func (comp *Client) List(ctx context.Context, cursor string, limit int64) (*response.ResponseCustomerStrategyList, 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 (*Client) Create ¶
func (comp *Client) Create(ctx context.Context, options *request.RequestCustomerStrategyCreate) (*response.ResponseCustomerStrategyCreate, error)
创建新的规则组 https://developer.work.weixin.qq.com/document/path/94883
func (*Client) Del ¶
删除规则组 https://developer.work.weixin.qq.com/document/path/94883
func (*Client) Edit ¶
func (comp *Client) Edit(ctx context.Context, options *request.RequestCustomerStrategyEdit) (*response2.ResponseWork, error)
编辑规则组及其管理范围 https://developer.work.weixin.qq.com/document/path/94883
func (*Client) Get ¶
func (comp *Client) Get(ctx context.Context, strategyID int64) (*response.ResponseCustomerStrategyGet, error)
获取规则组详情 https://developer.work.weixin.qq.com/document/path/94883
Click to show internal directories.
Click to hide internal directories.