-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to react to Slack Events? #138
Comments
Hi there, I can probably shed some light: the short answer is, no, nothing in the library actually help you receive the initial callbacks from events you subscribe to or from interaction callbacks. You will need to stand up a web server to accept the POST payloads. This library is 95% an API to Slack's web services API (making outgoing requests). However, there are some nice classes you can use to deserialize said payloads. Namely:
Another thing you may bump into is that this library doesn't currently help with two outgoing calls you may need make:
I hope that helps. Good luck! |
Re: |
I'm going to close this issue, since this seems well handled. |
I get the impression from the code that this library is capable of subscribing to, and receiving, events from the Slack API. For example, the MEMBER_JOINED_CHANNEL or MESSAGE events are invaluable to create an interactive bot.
However, I can't work out how to do this. I can't see any code that actually returns events, any way to subscribe to them, or anything like that.
What am I missing? Or is this future functionality?
Cheers
The text was updated successfully, but these errors were encountered: