Skip to content
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

Support Slack's Interactivity Mode & Block Kit #41

Open
1 of 5 tasks
dimasmamot opened this issue Apr 9, 2019 · 2 comments
Open
1 of 5 tasks

Support Slack's Interactivity Mode & Block Kit #41

dimasmamot opened this issue Apr 9, 2019 · 2 comments

Comments

@dimasmamot
Copy link

In order to let us help you better, please fill out the following fields as best you can:

I am...

  • Reporting a bug
  • Suggesting a new feature
  • Requesting help with running my bot
  • Requesting help writing plugins
  • Here about something else

I am running...

  • Errbot version:5.2.0
  • OS version: linux
  • Python version: 3.6
  • Using a virtual environment: yes

Issue description

The new block kits add more possible interactivity between users and bots, yet to enable the interactive mode you need to supply endpoint to receive the POST and processing all the thing that get sent to this endpoint whenever user interact with interactive component, it all has nice explanation detail in this docs https://api.slack.com/messaging/interactivity

Is it possible for errbot slack backend to implement this as a wrapper to cover the interactivity instead of creating your own endpoint and provision a special server to host the endpoint ?

I've seen this request too https://github.com/errbotio/errbot/issues/794 and I think slack did some change to their button with interactivity.

By far, did this possible for errbot to support this slack interactivity option ? That would be nice addition to errbot feature.

Additional info

It's my first request of feature, please guide me

@nzlosh
Copy link
Collaborator

nzlosh commented May 21, 2021

The slack backend provides a thin wrapper to the slack webclient. The method is called api_call and can be used to call on features that aren't directly exposed through errbot's framework. https://github.com/errbotio/errbot/blob/f63019800cbb1d28f00cc1d1c98204e18925c3ec/errbot/backends/slack.py#L356

@sijis
Copy link
Collaborator

sijis commented Jul 23, 2021

Transferring if there's a need for something more formal.

@sijis sijis transferred this issue from errbotio/errbot Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants