The Qasimodo Components for React allows to setup a moderated chat for LiveTiles Reach events in custom third party web applications.
$ npm i qasimodo-react
const App = () => {
const token = "A JWT bearer token";
const subscriptionId = "the subscription ID";
const config = {
apiEndpoint: "the api endpoint",
reachApiEndpoint: "the reach api endpoint",
webSocketsEndpoint: "the webSockets endpoint"
};
const sessionId = "the session ID";
return (
<QasiLibraryContextProvider
config={config}
subscriptionId={subscriptionId}
onRequestToken={async () => Promise.resolve(token)}
>
<SessionPage sessionId={sessionId}/>
</QasiLibraryContextProvider>
)
}