0.0.10 • Published 16 days ago

mrghost v0.0.10

Weekly downloads
-
License
-
Repository
github
Last release
16 days ago

Mr. Ghost

This package enables the use of a Mr. Ghost AI assistant as well as the execution of browser side actions.

Installation

npm i mrghost

Usage

import { ChatWidget } from "mrghost";

Example

import React from "react";
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.
0.0.10

16 days ago

0.0.9

16 days ago

0.0.8

16 days ago

0.0.7

16 days ago

0.0.4

17 days ago

0.0.3

17 days ago

0.0.2

17 days ago

0.0.1

17 days ago