How to use the messaging-api-slack.SlackOAuthClient function in messaging-api-slack

To help you get started, we’ve selected a few messaging-api-slack examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Yoctol / bottender / packages / bottender / src / slack / __tests__ / SlackContext.spec.ts View on Github external
beforeEach(() => {
  /* eslint-disable global-require */
  SlackClient = require('messaging-api-slack').SlackOAuthClient;
  SlackContext = require('../SlackContext').default;
  SlackEvent = require('../SlackEvent').default;
  sleep = require('delay');
  warning = require('warning');
  /* eslint-enable global-require */
});

messaging-api-slack

Messaging API client for Slack

MIT
Latest version published 3 years ago

Package Health Score

51 / 100
Full package analysis