Documentation ¶
Index ¶
- type Client
- func (comp *Client) Close(ctx context.Context, account string, openID string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) Create(ctx context.Context, account string, openID string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) Get(ctx context.Context, openID string) (*response.ResponseKFSessionGet, error)
- func (comp *Client) List(ctx context.Context, account string) (*response.ResponseKFSessionList, error)
- func (comp *Client) Waiting(ctx context.Context) (*response.ResponseKFSessionWaitCaseList, 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) Close ¶
func (comp *Client) Close(ctx context.Context, account string, openID string) (*response2.ResponseOfficialAccount, error)
关闭会话 https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html
func (*Client) Create ¶
func (comp *Client) Create(ctx context.Context, account string, openID string) (*response2.ResponseOfficialAccount, error)
创建会话 https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html
func (*Client) Get ¶
获取客户会话状态 https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html
func (*Client) List ¶
func (comp *Client) List(ctx context.Context, account string) (*response.ResponseKFSessionList, error)
获取客服会话列表 https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html
func (*Client) Waiting ¶
获取未接入会话列表 https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html
Click to show internal directories.
Click to hide internal directories.