@ipscape/chat-client-js
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

ipSCAPE - chat-client-js

This README would normally document whatever steps are necessary to get your application up and running.

Installation

npm

npm install @ipscape/chat-client-js 

yarn

yarn add @ipscape/chat-client-js 

Usage

Methods

sendMessage

sendMessage(payload: {
    threadId: string;
    message: string;
    metadata: Record<string, any>;
    senderDisplayName: string;
})

sendTypingNotification

sendTypingNotification(payload: {
    threadId: string;
    senderDisplayName: string;
})

sendReadReceipt

sendReadReceipt(payload: {
    threadId: string;
    messageId: string;
})

startRealtimeNotifications

startRealtimeNotifications()

stopRealtimeNotifications

stopRealtimeNotifications()

Readme

Keywords

Package Sidebar

Install

npm i @ipscape/chat-client-js

Weekly Downloads

29

Version

1.0.7

License

ISC

Unpacked Size

830 kB

Total Files

7

Last publish

Collaborators

  • sen.john
  • ipscaper
  • justin_ipscape