jovo-plugin-chatchip
v1.0.9
Published
Official ChatChip Plugin
Downloads
9
Readme
Official ChatChip Plugin
Installation
npm install jovo-plugin-chatchip
Add the following in your Jovo project app.js/app.ts
JS:
const {ChatChip} = require('jovo-plugin-chatchip');
app.use(
...
new ChatChip(),
...
)
TS:
import {ChatChip} from 'jovo-plugin-chatchip';
app.use(
...
new ChatChip(),
...
)
Usage
Tags
this.$chatchip.addTag('Sample Tag')
this.$chatchip.addTag(['Sample Tag 1', 'Sample Tag 2'])
QuickReplies
this.$chatchip.addQuickReply('Path 1')
this.$chatchip.addQuickReply(['Path 1', 'Path 2']);