@happyml/browser-side-actions
TypeScript icon, indicating that this package has built-in type declarations

0.4.8 • Public • Published

HappyML Browser Side Actions

This package enables the execution of browser side actions for a HappyML chatbot.

Installation

npm install @happyml/browser-side-actions

Usage

import { ChatWidget } from "@happyml/browser-side-actions";

Example

import React from "react";
import { ChatWidget } from "@happyml/browser-side-actions";

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

ChatWidget Properties

Property Type Required Description
botId string Yes Unique identifier for the HappyML chatbot.
chatId string No Identifier for an existing chat session. Set to null or omit for a new session.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.4.81latest

Version History

VersionDownloads (Last 7 Days)Published
0.4.81
0.4.70
0.4.60
0.4.50
0.4.40
0.4.30
0.4.20
0.4.10
0.4.00
0.3.90
0.3.80
0.3.70
0.3.60
0.3.50
0.3.40
0.1.00

Package Sidebar

Install

npm i @happyml/browser-side-actions

Weekly Downloads

1

Version

0.4.8

License

none

Unpacked Size

369 kB

Total Files

38

Last publish

Collaborators

  • evanphibbs
  • gjyoungjr