文档预览: kefu.js开发
导出
Markdown
HTML
PDF
展开全部章节
请选择文档打开!
[{"id":"000000000000domain","pId":"fdb7133","name":"domain","parent":"kefu.api","order":-1,"sort_id":3939657,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000前言","pId":"b3bbeee","name":"前言","parent":"kefu.storage","order":-1,"sort_id":3663288,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000chatLog","pId":"fdb7133","name":"chatLog","parent":"kefu.api","order":0,"sort_id":3663219,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000add(message)","pId":"beec724","name":"add(message)","parent":"kefu.cache","order":0,"sort_id":3663224,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000everyUserNumber","pId":"beec724","name":"everyUserNumber","parent":"kefu.cache","order":0,"sort_id":3663225,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000getChatList()","pId":"beec724","name":"getChatList()","parent":"kefu.cache","order":0,"sort_id":3663226,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000getUser(userid, func)","pId":"beec724","name":"getUser(userid, func)","parent":"kefu.cache","order":0,"sort_id":3663227,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000getUserMessageList(userid)","pId":"beec724","name":"getUserMessageList(userid)","parent":"kefu.cache","order":0,"sort_id":3663228,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000pushChatList(otherUser, message)","pId":"beec724","name":"pushChatList(otherUser, message)","parent":"kefu.cache","order":0,"sort_id":3663229,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000chatMessageStartTime","pId":"70ff86d","name":"chatMessageStartTime","parent":"kefu.chat","order":0,"sort_id":3663231,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000currentLoadHistoryList","pId":"70ff86d","name":"currentLoadHistoryList","parent":"kefu.chat","order":0,"sort_id":3663232,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000getOtherUser(userid, func)","pId":"70ff86d","name":"getOtherUser(userid, func)","parent":"kefu.chat","order":0,"sort_id":3663233,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000init()","pId":"70ff86d","name":"init()","parent":"kefu.chat","order":0,"sort_id":3663234,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000loadHistoryList()","pId":"70ff86d","name":"loadHistoryList()","parent":"kefu.chat","order":0,"sort_id":3663235,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000question()","pId":"70ff86d","name":"question()","parent":"kefu.chat","order":0,"sort_id":3663236,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000sendButtonClick()","pId":"70ff86d","name":"sendButtonClick()","parent":"kefu.chat","order":0,"sort_id":3663237,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000sendPluginMessage(data, name)","pId":"70ff86d","name":"sendPluginMessage(data, name)","parent":"kefu.chat","order":0,"sort_id":3663238,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000sendTextMessage(text)","pId":"70ff86d","name":"sendTextMessage(text)","parent":"kefu.chat","order":0,"sort_id":3663239,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000shuruType","pId":"70ff86d","name":"shuruType","parent":"kefu.chat","order":0,"sort_id":3663240,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000shuruTypeChange()","pId":"70ff86d","name":"shuruTypeChange()","parent":"kefu.chat","order":0,"sort_id":3663241,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000switchToJianpanShuruType()","pId":"70ff86d","name":"switchToJianpanShuruType()","parent":"kefu.chat","order":0,"sort_id":3663242,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"b016acb","pId":"310e5e4","name":"kefu.extend.face","parent":"kefu.extend","sort_id":3663245,"order":0,"isParent":true,"extname":null,"open":false},{"id":"000000000000faces","pId":"b016acb","name":"faces","parent":"kefu.extend/kefu.extend.face","order":0,"sort_id":3663246,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000format()","pId":"b016acb","name":"format()","parent":"kefu.extend/kefu.extend.face","order":0,"sort_id":3663247,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000icon","pId":"b016acb","name":"icon","parent":"kefu.extend/kefu.extend.face","order":0,"sort_id":3663248,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000insert(key)","pId":"b016acb","name":"insert(key)","parent":"kefu.extend/kefu.extend.face","order":0,"sort_id":3663249,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000name","pId":"b016acb","name":"name","parent":"kefu.extend/kefu.extend.face","order":0,"sort_id":3663250,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000onclick()","pId":"b016acb","name":"onclick()","parent":"kefu.extend/kefu.extend.face","order":0,"sort_id":3663251,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"7283fb3","pId":"310e5e4","name":"kefu.extend.image","parent":"kefu.extend","sort_id":3663252,"order":0,"isParent":true,"extname":null,"open":false},{"id":"000000000000format()","pId":"7283fb3","name":"format()","parent":"kefu.extend/kefu.extend.image","order":0,"sort_id":3663253,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000fullScreen(imageUrl)","pId":"7283fb3","name":"fullScreen(imageUrl)","parent":"kefu.extend/kefu.extend.image","order":0,"sort_id":3663254,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000icon","pId":"7283fb3","name":"icon","parent":"kefu.extend/kefu.extend.image","order":0,"sort_id":3663255,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000initChat()","pId":"7283fb3","name":"initChat()","parent":"kefu.extend/kefu.extend.image","order":0,"sort_id":3663256,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000name","pId":"7283fb3","name":"name","parent":"kefu.extend/kefu.extend.image","order":0,"sort_id":3663257,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000onclick()","pId":"7283fb3","name":"onclick()","parent":"kefu.extend/kefu.extend.image","order":0,"sort_id":3663258,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000template","pId":"7283fb3","name":"template","parent":"kefu.extend/kefu.extend.image","order":0,"sort_id":3663259,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000audioPath","pId":"4037406","name":"audioPath","parent":"kefu.notification","order":0,"sort_id":3663265,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000execute(title,text)","pId":"4037406","name":"execute(title,text)","parent":"kefu.notification","order":0,"sort_id":3663266,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"56a3b83","pId":"4037406","name":"kefu.notification.audio","parent":"kefu.notification","sort_id":3663267,"order":0,"isParent":true,"extname":null,"open":false},{"id":"000000000000load()","pId":"56a3b83","name":"load()","parent":"kefu.notification/kefu.notification.audio","order":0,"sort_id":3663268,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000play()","pId":"56a3b83","name":"play()","parent":"kefu.notification/kefu.notification.audio","order":0,"sort_id":3663269,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000use","pId":"4037406","name":"use","parent":"kefu.notification","order":0,"sort_id":3663270,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000startHeartBeat()","pId":"d7460d5","name":"startHeartBeat()","parent":"kefu.socket/kefu.socket.heartBeat","order":0,"sort_id":3663276,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000text","pId":"d7460d5","name":"text","parent":"kefu.socket/kefu.socket.heartBeat","order":0,"sort_id":3663277,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000time","pId":"d7460d5","name":"time","parent":"kefu.socket/kefu.socket.heartBeat","order":0,"sort_id":3663278,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000connect","pId":"92846f1","name":"connect","parent":"kefu.socket/kefu.socket.reconnect","order":0,"sort_id":3663280,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000url","pId":"55803a4","name":"url","parent":"kefu.socket","order":0,"sort_id":3663285,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000get(key)","pId":"b3bbeee","name":"get(key)","parent":"kefu.storage","order":0,"sort_id":3663287,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000set(key,value)","pId":"b3bbeee","name":"set(key,value)","parent":"kefu.storage","order":0,"sort_id":3663289,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000get()","pId":"a538027","name":"get()","parent":"kefu.token","order":0,"sort_id":3663291,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000set(token)","pId":"a538027","name":"set(token)","parent":"kefu.token","order":0,"sort_id":3663292,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"589ffc3","pId":"f295af1","name":"kefu.ui.chat","parent":"kefu.ui","sort_id":3663295,"order":0,"isParent":true,"extname":null,"open":false},{"id":"000000000000appendMessage(message)","pId":"589ffc3","name":"appendMessage(message)","parent":"kefu.ui/kefu.ui.chat","order":0,"sort_id":3663296,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000appendSystemMessage(messageText)","pId":"589ffc3","name":"appendSystemMessage(messageText)","parent":"kefu.ui/kefu.ui.chat","order":0,"sort_id":3663297,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000entry(userid)","pId":"589ffc3","name":"entry(userid)","parent":"kefu.ui/kefu.ui.chat","order":0,"sort_id":3663298,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000generateMessageSection(message)","pId":"589ffc3","name":"generateMessageSection(message)","parent":"kefu.ui/kefu.ui.chat","order":0,"sort_id":3663299,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000generateSystemMessageSection(text)","pId":"589ffc3","name":"generateSystemMessageSection(text)","parent":"kefu.ui/kefu.ui.chat","order":0,"sort_id":3663300,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000html","pId":"589ffc3","name":"html","parent":"kefu.ui/kefu.ui.chat","order":0,"sort_id":3663301,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000newMessageRemind(message)","pId":"589ffc3","name":"newMessageRemind(message)","parent":"kefu.ui/kefu.ui.chat","order":0,"sort_id":3663302,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000render(otherUserId)","pId":"589ffc3","name":"render(otherUserId)","parent":"kefu.ui/kefu.ui.chat","order":0,"sort_id":3663303,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000renderAreaId","pId":"589ffc3","name":"renderAreaId","parent":"kefu.ui/kefu.ui.chat","order":0,"sort_id":3663304,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000scrollToBottom()","pId":"589ffc3","name":"scrollToBottom()","parent":"kefu.ui/kefu.ui.chat","order":0,"sort_id":3663305,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000textInputClick()","pId":"589ffc3","name":"textInputClick()","parent":"kefu.ui/kefu.ui.chat","order":0,"sort_id":3663306,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"55f0dfe","pId":"f295af1","name":"kefu.ui.color","parent":"kefu.ui","sort_id":3663307,"order":0,"isParent":true,"extname":null,"open":false},{"id":"000000000000extendIconColor","pId":"55f0dfe","name":"extendIconColor","parent":"kefu.ui/kefu.ui.color","order":0,"sort_id":3663308,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000shuruTypeColor","pId":"55f0dfe","name":"shuruTypeColor","parent":"kefu.ui/kefu.ui.color","order":0,"sort_id":3663309,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"b7ac648","pId":"f295af1","name":"kefu.ui.images","parent":"kefu.ui","sort_id":3663310,"order":0,"isParent":true,"extname":null,"open":false},{"id":"000000000000jianpan","pId":"b7ac648","name":"jianpan","parent":"kefu.ui/kefu.ui.images","order":0,"sort_id":3663311,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000more","pId":"b7ac648","name":"more","parent":"kefu.ui/kefu.ui.images","order":0,"sort_id":3663312,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"c08fa0e","pId":"f295af1","name":"kefu.ui.list","parent":"kefu.ui","sort_id":3663313,"order":0,"isParent":true,"extname":null,"open":false},{"id":"000000000000entry()","pId":"c08fa0e","name":"entry()","parent":"kefu.ui/kefu.ui.list","order":0,"sort_id":3663314,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000html","pId":"c08fa0e","name":"html","parent":"kefu.ui/kefu.ui.list","order":0,"sort_id":3663315,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000render()","pId":"c08fa0e","name":"render()","parent":"kefu.ui/kefu.ui.list","order":0,"sort_id":3663316,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000renderAreaId","pId":"c08fa0e","name":"renderAreaId","parent":"kefu.ui/kefu.ui.list","order":0,"sort_id":3663317,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000前言,说明","pId":0,"name":"前言,说明","parent":null,"order":0,"sort_id":3663196,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000getChatOtherUser","pId":"fdb7133","name":"getChatOtherUser","parent":"kefu.api","order":1,"sort_id":3663220,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000connect(url)","pId":"55803a4","name":"connect(url)","parent":"kefu.socket","order":1,"sort_id":3663274,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000快速使用入门","pId":0,"name":"快速使用入门","parent":null,"order":1,"sort_id":3663376,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000getMyUser","pId":"fdb7133","name":"getMyUser","parent":"kefu.api","order":2,"sort_id":3663221,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"d7460d5","pId":"55803a4","name":"kefu.socket.heartBeat","parent":"kefu.socket","sort_id":3663275,"order":2,"isParent":true,"extname":null,"open":false},{"id":"000000000000聊天窗口中增加一个插件的示例","pId":0,"name":"聊天窗口中增加一个插件的示例","parent":null,"order":2,"sort_id":3663420,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000uploadImage","pId":"fdb7133","name":"uploadImage","parent":"kefu.api","order":3,"sort_id":3663222,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"92846f1","pId":"55803a4","name":"kefu.socket.reconnect","parent":"kefu.socket","sort_id":3663279,"order":3,"isParent":true,"extname":null,"open":false},{"id":"000000000000消息体结构及说明","pId":0,"name":"消息体结构及说明","parent":null,"order":3,"sort_id":3973705,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000onmessage(res)","pId":"55803a4","name":"onmessage(res)","parent":"kefu.socket","order":4,"sort_id":3663281,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000不使用某个插件的方法","pId":0,"name":"不使用某个插件的方法","parent":null,"order":4,"sort_id":4075220,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000onopen()","pId":"55803a4","name":"onopen()","parent":"kefu.socket","order":5,"sort_id":3663282,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000重写图片发送插件的放大功能","pId":0,"name":"重写图片发送插件的放大功能","parent":null,"order":5,"sort_id":4270122,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000send(text)","pId":"55803a4","name":"send(text)","parent":"kefu.socket","order":6,"sort_id":3663283,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000聊天输入框上增加快捷功能按钮","pId":0,"name":"聊天输入框上增加快捷功能按钮","parent":null,"order":6,"sort_id":5912036,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000====下面是kefu.js的方法说明====","pId":0,"name":"====下面是kefu.js的方法说明====","parent":null,"order":7,"sort_id":3973704,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000socket","pId":"55803a4","name":"socket","parent":"kefu.socket","order":7,"sort_id":3663284,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"fdb7133","pId":0,"name":"kefu.api","parent":"","sort_id":3663218,"order":8,"isParent":true,"extname":null,"open":false},{"id":"beec724","pId":0,"name":"kefu.cache","parent":"","sort_id":3663223,"order":9,"isParent":true,"extname":null,"open":false},{"id":"70ff86d","pId":0,"name":"kefu.chat","parent":"","sort_id":3663230,"order":10,"isParent":true,"extname":null,"open":false},{"id":"000000000000kefu.currentPage","pId":0,"name":"kefu.currentPage","parent":null,"order":11,"sort_id":3663243,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"310e5e4","pId":0,"name":"kefu.extend","parent":"","sort_id":3663244,"order":12,"isParent":true,"extname":null,"open":false},{"id":"000000000000kefu.filterXSS(text)","pId":0,"name":"kefu.filterXSS(text)","parent":null,"order":13,"sort_id":3663260,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000kefu.getMyUser(func)","pId":0,"name":"kefu.getMyUser(func)","parent":null,"order":14,"sort_id":3663261,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000kefu.getReceiveMessageText(message)","pId":0,"name":"kefu.getReceiveMessageText(message)","parent":null,"order":15,"sort_id":3663262,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000kefu.mode","pId":0,"name":"kefu.mode","parent":null,"order":16,"sort_id":3663263,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"4037406","pId":0,"name":"kefu.notification","parent":"","sort_id":3663264,"order":17,"isParent":true,"extname":null,"open":false},{"id":"55803a4","pId":0,"name":"kefu.socket","parent":"","sort_id":3663273,"order":18,"isParent":true,"extname":null,"open":false},{"id":"b3bbeee","pId":0,"name":"kefu.storage","parent":"","sort_id":3663286,"order":19,"isParent":true,"extname":null,"open":false},{"id":"000000000000uploadAudio","pId":"fdb7133","name":"uploadAudio","parent":"kefu.api","order":20,"sort_id":3939635,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"a538027","pId":0,"name":"kefu.token","parent":"","sort_id":3663290,"order":20,"isParent":true,"extname":null,"open":false},{"id":"000000000000get(...)","pId":"fdb7133","name":"get(...)","parent":"kefu.api","order":21,"sort_id":3939651,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000kefu.ubb(text)","pId":0,"name":"kefu.ubb(text)","parent":null,"order":21,"sort_id":3663293,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"000000000000uploadFile","pId":"fdb7133","name":"uploadFile","parent":"kefu.api","order":22,"sort_id":4042745,"extname":".md","isParent":false,"isHidden":false,"content":""},{"id":"f295af1","pId":0,"name":"kefu.ui","parent":"","sort_id":3663294,"order":22,"isParent":true,"extname":null,"open":false},{"id":"000000000000kefu.user","pId":0,"name":"kefu.user","parent":null,"order":23,"sort_id":3663318,"extname":".md","isParent":false,"isHidden":false,"content":""}]
访问密码
确认