Documentation ¶
Index ¶
- type Client
- func (comp *Client) Close(account string, openID string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) Create(account string, openID string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) Get(openID string) (*response.ResponseKFSessionGet, error)
- func (comp *Client) List(account string) (*response.ResponseKFSessionList, error)
- func (comp *Client) Waiting() (*response.ResponseKFSessionWaitCaseList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*kernel.BaseClient
}
func NewClient ¶
func NewClient(app kernel.ApplicationInterface) *Client
func (*Client) Close ¶
func (comp *Client) Close(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(account string, openID string) (*response2.ResponseOfficialAccount, error)
创建会话 https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html
func (*Client) Get ¶
func (comp *Client) Get(openID string) (*response.ResponseKFSessionGet, error)
获取客户会话状态 https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html
func (*Client) List ¶
func (comp *Client) List(account string) (*response.ResponseKFSessionList, error)
获取客服会话列表 https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html
func (*Client) Waiting ¶
func (comp *Client) Waiting() (*response.ResponseKFSessionWaitCaseList, error)
获取未接入会话列表 https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html
Click to show internal directories.
Click to hide internal directories.