rampatra / jbot

Make Slack and Facebook Bots in Java.
GNU General Public License v3.0
1.2k stars 351 forks source link

Slack Interactive Messages #25

Open pproenca opened 7 years ago

pproenca commented 7 years ago

Hey,

Is there any plans to integrate the new Slack API interactive messages feature?

https://api.slack.com/docs/message-buttons

rampatra commented 7 years ago

Hey,

Currently, JBot supports Slack's RTM API, Webhooks and Slash commands and not web api. While working on the web api I will definitely include message button feature. It's just a POST call after all similar to web apis. You can do it one line in JBot (which uses spring-boot).

pproenca commented 7 years ago

I guess the only thing it makes it more complicated is the requirement to register a Slack app 😢

rampatra commented 7 years ago

@pproenca Yes, I agree. You have to make a Slack app and your message action receiving url must support https. But why is it complicated? You just have to host your jbot in some server and release it to Slack app store as an app. But I agree it's a lot of work to do as compared to Custom Integrations.

pproenca commented 7 years ago

@ramswaroop exactly!

Swapnil2004 commented 5 years ago

@ramswaroop is the above issue closed?