在松弛中组合消息菜单和消息按钮

Combine message menu and message button in slack

我想在我的 slack 中合并消息菜单和消息按钮app.This 是我想要实现的工作流程。

1) User fires a slack slash command to display the menu. This menu will have one dropdown and three buttons. This I am able to achieve.

2) I want user to select an option from dropdown and press any of the action button.Then only the action should be triggered

问题是,当我 select 下拉菜单中的任何选项时,它都会触发操作。我不希望以这种方式触发操作。我只想在点击按钮后触发动作

Slack 无法满足您的要求。单击交互式菜单中的选项将始终发出一个操作。

相反,我建议分两步实施工作流程。首先显示按钮,然后显示菜单(或其他方式)。

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

您可以通过包含多个附件在同一封邮件中混合使用邮件按钮和邮件菜单