Documentation ¶
Index ¶
- type Client
- func (comp *Client) Add(ctx context.Context, schedule *power.HashMap, agentID int) (*response.ResponseScheduleAdd, error)
- func (comp *Client) Del(ctx context.Context, scheduleID string) (*response2.ResponseWork, error)
- func (comp *Client) Get(ctx context.Context, scheduleIDList []string) (*response.ResponseScheduleGet, error)
- func (comp *Client) Update(ctx context.Context, schedule *power.HashMap) (*response2.ResponseWork, 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) Add ¶
func (comp *Client) Add(ctx context.Context, schedule *power.HashMap, agentID int) (*response.ResponseScheduleAdd, error)
创建日程 https://developer.work.weixin.qq.com/document/path/93648
func (*Client) Del ¶
删除日程 https://developer.work.weixin.qq.com/document/path/93648
func (*Client) Get ¶
func (comp *Client) Get(ctx context.Context, scheduleIDList []string) (*response.ResponseScheduleGet, error)
获取日程详情 https://developer.work.weixin.qq.com/document/path/93648
Click to show internal directories.
Click to hide internal directories.