corpgroup

package
v3.0.30 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: MIT Imports: 5 Imported by: 1

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 RegisterProvider

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

func (*Client) GetAppShareInfo

func (comp *Client) GetAppShareInfo(ctx context.Context, agentID int) (*response.ResponseCorpGroupListAPPShareInfo, error)

获取应用共享信息 https://developer.work.weixin.qq.com/document/path/93403

func (*Client) GetMiniProgramTransferSession

func (comp *Client) GetMiniProgramTransferSession(ctx context.Context, userID string, sessionKey string) (*response.ResponseCorpGroupTransferSession, error)

获取下级企业的小程序session https://developer.work.weixin.qq.com/document/path/93355

func (*Client) GetToken

func (comp *Client) GetToken(ctx context.Context, corpID string, agentID string) (*response.ResponseCorpGroupGetToken, error)

获取下级企业的access_token https://developer.work.weixin.qq.com/document/path/93359

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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