1.0.13 • Published 9 months ago
@chatsystem/client v1.0.13
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.