Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 576 Bytes

File metadata and controls

30 lines (21 loc) · 576 Bytes

bottender-connector-simple-messenger


This is a simplified version of bottender's MessengerConnector. Skipping getUserProfile to increase response speed.

Install

$ npm install --save bottender-connector-simple-messenger

or

$ yarn add bottender-connector-simple-messenger

Usage

import SimpleMessengerConnector from 'bottender-connector-simple-messenger';

const bot = new Bot({
  connector: new SimpleMessengerConnector({
    accessToken: '__FILL_YOUR_TOKEN_HERE__',
    appSecret: '__FILL_YOUR_SECRET_HERE__',
  }}),
});