Documentation
¶
Overview ¶
多客服会话控制
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KfCloseSessionEvent ¶
type KfCloseSessionEvent struct {
XMLName struct{} `xml:"xml" json:"-"`
core.MsgHeader
EventType core.EventType `xml:"Event" json:"Event"`
KfAccount string `xml:"KfAccount" json:"KfAccount"`
}
func GetKfCloseSessionEvent ¶
func GetKfCloseSessionEvent(msg *core.MixedMsg) *KfCloseSessionEvent
type KfCreateSessionEvent ¶
type KfCreateSessionEvent struct {
XMLName struct{} `xml:"xml" json:"-"`
core.MsgHeader
EventType core.EventType `xml:"Event" json:"Event"`
KfAccount string `xml:"KfAccount" json:"KfAccount"`
}
func GetKfCreateSessionEvent ¶
func GetKfCreateSessionEvent(msg *core.MixedMsg) *KfCreateSessionEvent
type KfSwitchSessionEvent ¶
type KfSwitchSessionEvent struct {
XMLName struct{} `xml:"xml" json:"-"`
core.MsgHeader
EventType core.EventType `xml:"Event" json:"Event"`
FromKfAccount string `xml:"FromKfAccount" json:"FromKfAccount"`
ToKfAccount string `xml:"ToKfAccount" json:"ToKfAccount"`
}
func GetKfSwitchSessionEvent ¶
func GetKfSwitchSessionEvent(msg *core.MixedMsg) *KfSwitchSessionEvent
type Session ¶
type WaitCaseListResult ¶
type WaitCaseListResult struct {
TotalCount int `json:"count"` // 未接入会话数量
ItemCount int `json:"item_count"` // 本次返回的未接入会话列表数量
Items []Session `json:"waitcaselist,omitempty"` // 本次返回的未接入会话列表
}
func WaitCaseList ¶
func WaitCaseList(clt *core.Client) (rslt *WaitCaseListResult, err error)
WaitCaseList 获取未接入会话列表.
Click to show internal directories.
Click to hide internal directories.