seratch / slack-edge

Slack app development framework for edge functions with streamlined TypeScript support
https://github.com/seratch/slack-edge-app-template
MIT License
87 stars 5 forks source link

Interactivity routing support #20

Closed t6adev closed 5 months ago

t6adev commented 5 months ago

I'm trying it now I realized there is only supported events routing.

https://github.com/seratch/slack-edge/blob/1b7346fb9de21d1bbe6eed351851dd0ada646391/src/app.ts#L529-L534

However, the console has an input field for the interactivity path we have to.

image

But if we set it to the same event_subscriptions path, it seems to work well.

  1. What's the correct?
  2. Is there no problem with the wired setting?
seratch commented 5 months ago

Hi @t6adev, thanks for asking the question. The name "events" might be a little confusing but you can use a single endpoint URL, which is configured as "routes.events" for all Request URLs in the Slack app configuration page.