Documentation ¶
Index ¶
- type Client
- func (comp *Client) Create(options *request.RequestMomentStrategyCreate) (*response.ResponseMomentStrategyCreate, error)
- func (comp *Client) Del(strategyID int) (*response2.ResponseWork, error)
- func (comp *Client) Edit(options *request.RequestMomentStrategyEdit) (*response.ResponseMomentStrategyCreate, error)
- func (comp *Client) Get(strategyID int) (*response.ResponseMomentStrategyGet, error)
- func (comp *Client) GetRange(strategyID int, cursor string, limit int) (*response.ResponseMomentStrategyGetRange, error)
- func (comp *Client) List(cursor string, limit int) (*response.ResponseMomentStrategyList, 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 (*Client) Create ¶
func (comp *Client) Create(options *request.RequestMomentStrategyCreate) (*response.ResponseMomentStrategyCreate, error)
创建新的规则组 https://developer.work.weixin.qq.com/document/path/94890
func (*Client) Del ¶
func (comp *Client) Del(strategyID int) (*response2.ResponseWork, error)
删除规则组 https://developer.work.weixin.qq.com/document/path/94890
func (*Client) Edit ¶
func (comp *Client) Edit(options *request.RequestMomentStrategyEdit) (*response.ResponseMomentStrategyCreate, error)
编辑规则组及其管理范围 https://developer.work.weixin.qq.com/document/path/94890
func (*Client) Get ¶
func (comp *Client) Get(strategyID int) (*response.ResponseMomentStrategyGet, error)
获取规则组详情 https://developer.work.weixin.qq.com/document/path/94890
func (*Client) GetRange ¶
func (comp *Client) GetRange(strategyID int, cursor string, limit int) (*response.ResponseMomentStrategyGetRange, error)
获取规则组管理范围 https://developer.work.weixin.qq.com/document/path/94890
func (*Client) List ¶
获取规则组列表 https://developer.work.weixin.qq.com/document/path/94890
Click to show internal directories.
Click to hide internal directories.