howdyai / botkit

Botkit is an open source developer tool for building chat bots, apps and custom integrations for major messaging platforms.
MIT License
11.45k stars 2.28k forks source link

Receive action event from Slack Blocks (block_actions) through the BotFramework #2050

Closed scipe closed 3 years ago

scipe commented 3 years ago

Hi folks!

I have a botkit with botframework controller. Inside BotFramework I connect Slack. In my code I send back to user next message:

{
          type: 'actions',
          elements: [
            {
              type: 'button',
              text: {
                type: 'plain_text',
                text: 'More Results',
                emoji: true,
              },
              value: 'click_me_123',
              action_id: 'actionId-0',
            },
          ],
        }

And Slack UI going well, render this button and user can click and etc. But after user click Slack told me that we have Error 400. And where is no any events to my chatbot from BotFramework. Any ideas?

p.s. No way to use slack adapter. Only through the BotFramework.