Documentation ¶
Index ¶
- type Client
- func (comp *Client) GetDepartmentList(ctx context.Context, departmentID string) (*response.ResponseLinkCorpGetDepartmentList, error)
- func (comp *Client) GetPermList(ctx context.Context) (*response.ResponseLinkCorpGetPermList, error)
- func (comp *Client) GetUser(ctx context.Context, userID string) (*response.ResponseLinkCorpGetUser, error)
- func (comp *Client) GetUserList(ctx context.Context, departmentID string, fetchChild bool) (*response.ResponseLinkCorpGetUserList, error)
- func (comp *Client) GetUserSimpleList(ctx context.Context, departmentID string, fetchChild bool) (*response.ResponseLinkCorpGetUserSimpleList, 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) GetDepartmentList ¶
func (comp *Client) GetDepartmentList(ctx context.Context, departmentID string) (*response.ResponseLinkCorpGetDepartmentList, error)
获取互联企业部门列表 https://developer.work.weixin.qq.com/document/path/93170
func (*Client) GetPermList ¶
获取应用的可见范围 https://developer.work.weixin.qq.com/document/path/93172
func (*Client) GetUser ¶
func (comp *Client) GetUser(ctx context.Context, userID string) (*response.ResponseLinkCorpGetUser, error)
获取互联企业成员详细信息 https://developer.work.weixin.qq.com/document/path/93171
func (*Client) GetUserList ¶
func (comp *Client) GetUserList(ctx context.Context, departmentID string, fetchChild bool) (*response.ResponseLinkCorpGetUserList, error)
获取互联企业部门成员详情 https://developer.work.weixin.qq.com/document/path/93169
func (*Client) GetUserSimpleList ¶
func (comp *Client) GetUserSimpleList(ctx context.Context, departmentID string, fetchChild bool) (*response.ResponseLinkCorpGetUserSimpleList, error)
获取互联企业部门成员 https://developer.work.weixin.qq.com/document/path/93168
Click to show internal directories.
Click to hide internal directories.