@chatsystem/client
v1.1.5
Published
## Use it as a react package
Downloads
925
Readme
Use the client
Use it as a react package
import { App } from "@chatsystem/client"; <App appToken="YOUR_TOKEN_ID" displayMode="chatbox" />;
Use it as a bundled JS script
<script type="text/javascript" src="https://chatsystem.s3.eu-west-3.amazonaws.com/index.js" data-appToken="YOUR_TOKEN_ID" data-displayMode="chatbox" ></script>
Parameters
- appToken: your appToken, delivered on chatsystem.ai
- displayMode?: either
bubble
if you want the bubble to display, orchatbox
if you want to see directly the chatbox. Css is overridable.