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