0.2.3 • Published 10 months ago

cds-support-chatbot v0.2.3

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

CDS SUPPORT CHATBOT

Note this package is not support react-native anymore.

Installation

npm install @cdssnc/cds-support-chatbot

Usage

import { Chatbot } from '@cdssnc/cds-support-chatbot';
import '@cdssnc/cds-support-chatbot/dist/index.css';


 const config: AuthLib = {
    apiEndpoint: 'your api endpoint',
    wssEndpoint: 'your wss endpoint',
    apiKey: 'your api key',
    chatbotName: 'your chatbot name',
    chatbotImage: 'your chatbot image',
    token: 'your token',
  };

  const App = () => {
    return (
      <Chatbot {...config}/>
    );
  }

Props

NameTypeDescription
apiEndpointstringThe endpoint of the API
wssEndpointstringThe endpoint of the WebSocket
apiKeystringThe API key
chatbotNamestringThe name of the chatbot
chatbotImagestringThe image of the chatbot
tokenstringThe token of the chatbot
0.2.1

10 months ago

0.1.2

11 months ago

0.1.8

10 months ago

0.1.7

11 months ago

0.1.9

10 months ago

0.2.3

10 months ago

0.1.4

11 months ago

0.2.2

10 months ago

0.1.3

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago