slackapi / hubot-slack

Slack Developer Kit for Hubot
https://slack.dev/hubot-slack/
MIT License
2.3k stars 637 forks source link

Events API support #434

Open rophy opened 7 years ago

rophy commented 7 years ago

As title, does hubot-slack supports Slack Events API ? If not, is there a plan to support it?

For node.js API support, we already have slackapi/node-slack-events-api so I'm hoping this is technically feasible.

aoberoi commented 6 years ago

thanks for asking @rophy. currently, the adapter does not support the Events API. this support was delayed for similar reasons as the interactive messages support. we are still in the planning phase of how to implement the Events API, and any help or ideas in getting there is welcome.

drdamour commented 6 years ago

seems like just firing hubots built in messageing with a scoped prefix would be simple enough to expose the events api to hubot devs. ie link_shard is keyed as slack.link_shared on the hubot bus.

Obv the issue is lots of hubots run behind the firewall...be so nice if slack offered a websocket protocol for the event's api

drdamour commented 6 years ago

in fact..that'd be a pretty simple broker to setup... client has a key to broker that it initiates websocket for and configure slack to push events to broker which currys them over through the matching websocket.