Documentation ¶
Index ¶
- type Client
- func (comp *Client) GetBatchResult(ctx context.Context, jobID string) (*response.ResponseUserBatchGetResult, error)
- func (comp *Client) ReplaceParty(ctx context.Context, mediaID string, toInvite bool, callback *power.StringMap) (*response.ResponseUserBatchJobs, error)
- func (comp *Client) ReplaceUser(ctx context.Context, mediaID string, toInvite bool, callback *power.StringMap) (*response.ResponseUserBatchJobs, error)
- func (comp *Client) SyncUser(ctx context.Context, mediaID string, toInvite bool, callback *power.StringMap) (*response.ResponseUserBatchJobs, 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) GetBatchResult ¶
func (comp *Client) GetBatchResult(ctx context.Context, jobID string) (*response.ResponseUserBatchGetResult, error)
获取异步任务结果 https://developer.work.weixin.qq.com/document/path/90983
func (*Client) ReplaceParty ¶
func (comp *Client) ReplaceParty(ctx context.Context, mediaID string, toInvite bool, callback *power.StringMap) (*response.ResponseUserBatchJobs, error)
全量覆盖部门 https://developer.work.weixin.qq.com/document/path/90982
func (*Client) ReplaceUser ¶
func (comp *Client) ReplaceUser(ctx context.Context, mediaID string, toInvite bool, callback *power.StringMap) (*response.ResponseUserBatchJobs, error)
全量覆盖成员 https://developer.work.weixin.qq.com/document/path/90981
Click to show internal directories.
Click to hide internal directories.