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 NewClient ¶
func NewClient(app kernel.ApplicationInterface) *Client
func (*Client) Create ¶
func (comp *Client) Create(options *request.RequestMomentStrategyCreate) (*response.ResponseMomentStrategyCreate, error)
创建新的规则组 https://work.weixin.qq.com/api/doc/90000/90135/94890
func (*Client) Edit ¶
func (comp *Client) Edit(options *request.RequestMomentStrategyEdit) (*response.ResponseMomentStrategyCreate, error)
编辑规则组及其管理范围 https://work.weixin.qq.com/api/doc/90000/90135/94890
func (*Client) Get ¶
func (comp *Client) Get(strategyID int) (*response.ResponseMomentStrategyGet, error)
获取规则组详情 https://work.weixin.qq.com/api/doc/90000/90135/94890
func (*Client) GetRange ¶
func (comp *Client) GetRange(strategyID int, cursor string, limit int) (*response.ResponseMomentStrategyGetRange, error)
获取规则组管理范围 https://work.weixin.qq.com/api/doc/90000/90135/94890
func (*Client) List ¶
获取规则组列表 https://work.weixin.qq.com/api/doc/90000/90135/94890
Click to show internal directories.
Click to hide internal directories.