isomtrik-quickchat
Version:
isomtrik-quickchat is a lightweight, real-time chat component built with Stencil JS. It is designed to be seamlessly integrated into web applications, offering customizable and responsive chat functionalities. The module supports both CommonJS and ES modu
14 lines (11 loc) • 529 B
JavaScript
import ChatSDK from 'test-iso-chat-sdk'
const client = () => ChatSDK.getInstance();
// export const postMessage = async ({conversationId, deviceId, body}) => {
// try {
// const res = await client().message.postMessages({showInConversation:true, messageType:0, searchableTags:['hello','hi'],encrypted:false, conversationId:conversationId, deviceId:deviceId,body:body});
// } catch (error) {
// console.log(error, '');
// }
// };
export default client;
//66d7f52c4aaeb0002d3921e3 -- convoID