(chat_id, data)
| 268 | * @param data |
| 269 | */ |
| 270 | const chat: (chat_id: string, data: any) => Promise<any> = (chat_id, data) => { |
| 271 | const prefix = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api' |
| 272 | return postStream(`${prefix}/chat_message/${chat_id}`, data) |
| 273 | } |
| 274 | /** |
| 275 | * 获取对话用户认证类型 |
| 276 | * @param loading 加载器 |
nothing calls this directly
no test coverage detected