Documentation ¶
Index ¶
- type Client
- func (comp *Client) Add(ctx context.Context, name string, mediaID string) (*response.ResponseAccountAdd, error)
- func (comp *Client) AddContactWay(ctx context.Context, openKFID string, scene string) (*response.ResponseAccountServiceAddContactWay, error)
- func (comp *Client) Del(ctx context.Context, openKFID string) (*response2.ResponseWork, error)
- func (comp *Client) List(ctx context.Context) (*response.ResponseAccountList, error)
- func (comp *Client) Update(ctx context.Context, options *request.RequestAccountUpdate) (*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 RegisterProvider ¶
func (*Client) Add ¶
func (comp *Client) Add(ctx context.Context, name string, mediaID string) (*response.ResponseAccountAdd, error)
添加客服帐号 https://developer.work.weixin.qq.com/document/path/94648
func (*Client) AddContactWay ¶
func (comp *Client) AddContactWay(ctx context.Context, openKFID string, scene string) (*response.ResponseAccountServiceAddContactWay, error)
获取客服帐号链接 https://developer.work.weixin.qq.com/document/path/94665
func (*Client) Del ¶
删除客服帐号 https://developer.work.weixin.qq.com/document/path/94663
func (*Client) List ¶
获取客服帐号列表 https://developer.work.weixin.qq.com/document/path/94661
func (*Client) Update ¶
func (comp *Client) Update(ctx context.Context, options *request.RequestAccountUpdate) (*response2.ResponseWork, error)
修改客服帐号 https://developer.work.weixin.qq.com/document/path/94664
Click to show internal directories.
Click to hide internal directories.