linkedCorp

package
v3.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 4 Imported by: 2

Documentation

Index

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 NewClient

func NewClient(app kernel.ApplicationInterface) (*Client, error)

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

func (comp *Client) GetPermList(ctx context.Context) (*response.ResponseLinkCorpGetPermList, error)

获取应用的可见范围 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL