Documentation ¶
Index ¶
- type Client
- func (comp *Client) Add(ctx context.Context, options *request2.RequestAddContactWay) (*response3.ResponseAddContactWay, error)
- func (comp *Client) CloseTempChat(ctx context.Context, userID string, externalUserID string) (*response2.ResponseWork, error)
- func (comp *Client) Delete(ctx context.Context, configID string) (*response2.ResponseWork, error)
- func (comp *Client) Get(ctx context.Context, configID string) (*response3.ResponseGetContactWay, error)
- func (comp *Client) List(ctx context.Context, options *request2.RequestListContactWay) (*response3.ResponseListContactWay, error)
- func (comp *Client) Update(ctx context.Context, config *request2.RequestUpdateContactWay) (*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, options *request2.RequestAddContactWay) (*response3.ResponseAddContactWay, error)
配置客户联系「联系我」方式. https://developer.work.weixin.qq.com/document/path/92572
func (*Client) CloseTempChat ¶
func (comp *Client) CloseTempChat(ctx context.Context, userID string, externalUserID string) (*response2.ResponseWork, error)
结束临时会话 https://developer.work.weixin.qq.com/document/path/92572
func (*Client) Delete ¶
删除企业已配置的「联系我」方式 https://developer.work.weixin.qq.com/document/path/92572
func (*Client) Get ¶
func (comp *Client) Get(ctx context.Context, configID string) (*response3.ResponseGetContactWay, error)
获取企业已配置的「联系我」方式 https://developer.work.weixin.qq.com/document/path/92572
func (*Client) List ¶
func (comp *Client) List(ctx context.Context, options *request2.RequestListContactWay) (*response3.ResponseListContactWay, error)
获取企业已配置的「联系我」列表 https://developer.work.weixin.qq.com/document/path/92572
func (*Client) Update ¶
func (comp *Client) Update(ctx context.Context, config *request2.RequestUpdateContactWay) (*response2.ResponseWork, error)
更新企业已配置的「联系我」方式 https://developer.work.weixin.qq.com/document/path/92572
Click to show internal directories.
Click to hide internal directories.