@comapi/sdk-js-chat

Comapi Javascript SDK - Chat

Usage no npm install needed!

<script type="module">
  import comapiSdkJsChat from 'https://cdn.skypack.dev/@comapi/sdk-js-chat';
</script>

README

Comapi Chat SDK

The following sections will take you through using the Comapi Javascript Chat SDK

This SDK wraps Comapi Foundation SDK and provides additional functionalities that will make crating a chat app a lot easier.

It will automatically

  • manage conversations
  • synchronise conversation data
  • mark messages as delivered

Install the SDK

The following document details how to install the SDK.

Initialise the SDK

The following document details how to initialise the SDK.

Conversation Store

The following document details how to implement a conversation Store.

Client APIs

The following document the various client APIs exposed by this SDK.

Events

The following document details the events the SDK exposes an how to listen to them.

Messaging Service

The following document details the Messaging Service of the SDK.