Skip to content

0.14.25 / 2018-03-13

Compare
Choose a tag to compare
@chentsulin chentsulin released this 13 Mar 04:52
· 1292 commits to master since this release

console

  • [new] Support using /exit to exit

messenger

  • [new] Support passing verifyToken to MessengerBot or MessengerConnector (#204)

Support both:

  • pass verifyToken in server config
const bot = new MessengerBot({
  accessToken: config.accessToken,
  appSecret: config.appSecret,
});

const server = createServer(bot, { verifyToken: config.verifyToken });
  • pass verifyToken in bot config
const bot = new MessengerBot({
  accessToken: config.accessToken,
  appSecret: config.appSecret,
  verifyToken: config.verifyToken,
});

const server = createServer(bot);

line

  • [fix] Fix LINE join, leave events which do not have userId will fail get profile (#206)