This README would normally document whatever steps are necessary to get your application up and running.
npm install @ipscape/chat-client-js
yarn add @ipscape/chat-client-js
sendMessage(payload: {
threadId: string;
message: string;
metadata: Record<string, any>;
senderDisplayName: string;
})
sendTypingNotification(payload: {
threadId: string;
senderDisplayName: string;
})
sendReadReceipt(payload: {
threadId: string;
messageId: string;
})
startRealtimeNotifications()
stopRealtimeNotifications()