0.0.6 • Published 1 year ago

backless-ai v0.0.6

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

Backless AI

This package enables use

Installation

npm i backless-ai

Usage

import { ChatWidget } from "mrghost";

Example

import { ChatWidget } from "mrghost";

function App() {
  return <ChatWidget botId="your-bot-id" userId="your-user-id" chatId="your-chat-id" />;
}

ChatWidget Properties

PropertyTypeRequiredDescription
botIdstringYesUnique identifier for the Mr. Ghost chatbot.
userIdstringNoIdentifier for an existing bot user. Set to null or omit for a new bot user to be created if your user permissions allow new users.
chatIdstringNoIdentifier for an existing chat session. Set to null or omit for a new session.