A sample Slack app standing in for the user's own app in the demo. It plays the role of the app that receives interactions and events:
block_actions— either opens a modal (open_config) or acknowledges the click by replying to theresponse_url.view_submission— reads the submitted value and posts a confirmation message into the store.view_closed— acknowledged.- Events API (
/events) — handlesurl_verificationchallenges andapp_mentionevents by posting a reply into the store.
Mounted at /demo in Slackbox.Demo.Router; the simulator posts here.
Summary
Functions
Callback implementation for Plug.call/2.
Callback implementation for Plug.init/1.