Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Slack Events api #459

Closed
wants to merge 26 commits into from
Closed

Slack Events api #459

wants to merge 26 commits into from

Conversation

jonchurch
Copy link
Contributor

@jonchurch jonchurch commented Oct 24, 2016

Receive Events API events at the webhook setup by createWebhookEndpoints()

EDIT: startTicking() is now called for you when wehbhook endpoints are created
Use controller.startTicking() when running bot to enable conversations

Would like feedback on Bot Identity management without RTM. I'm saving bot identity to team storage when a user completes oauth flow, and looking it up from storage each time an Events API request is received.

closes #438

@jonchurch jonchurch changed the title Events api Slack Events api Oct 24, 2016
…ts api to play nice together

start ticking when webhooks are setup
@jonchurch
Copy link
Contributor Author

Added a config option eventsApi: true to:

  • Tell botkit to send messages via web API instead of RTM
  • Ignore messages triggered by RTM, if the RTM is connected to (for purposes of presence) while using Events API

@jonchurch jonchurch closed this Nov 8, 2016
@jonchurch
Copy link
Contributor Author

Closing in favor of #480

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for the Slack Events API
2 participants