0.1.8 • Published 7 years ago

botimize-botkit-middleware v0.1.8

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

botimize-botkit-middleware

build status npm

This middleware plugin for Botkit allows you to seamlessly integrate Botimize functionalities into your Botkit bot.

Setup

  • Create a free account at Botimize to get an API key.

  • Install this middleware plugin with npm:

    npm install --save botimize-botkit-middleware

Usage

  • Use API key to create a new botimize and middleware objects:

    const botimize = require('botimize')('<YOUR-API-KEY>', 'facebook');
    const botimizeBotkit = require('botimize-botkit-middleware')(botimize);
  • Setup Botkit middleware:

    const controller = botkit.facebookbot({...});
    controller.middleware.receive.use(botimizeBotkit.receive);
    controller.middleware.send.use(botimizeBotkit.send);
0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago