slapp-context-beepboop
Slapp context lookup module for running on Beep Boop
This is an implementation of a context middleware function for
slapp for Slack apps running on
Beep Boop. It populates the req.slapp.meta object with the following properties, which are pulled from HTTP headers from Beep Boop:
app_tokenapp_user_idapp_bot_idbot_tokenbot_user_idbot_user_nameteam_nameteam_domainincoming_webhook_urlincoming_webhook_channelconfig(team-specific config)error
Install
npm install --save slapp-context-beepboop
Use
const Slapp = require('slapp')
const BeepBoopContext = require('slapp-context-beepboop')
var slapp = Slapp({
context: BeepBoopContext(),
})