Open drusteeby opened 6 years ago
Looking into it further, what I really wanted to do was slack "dialogs" https://api.slack.com/dialogs
I assumed menus were able to take "dynamic" responses from the options, but it appears that is not the case.
Another thought: Users submit their answers in a DM to the bot instead of through slack dialogs.
Pros:
Cons:
I'm not a fan of this idea but I think it's a good alternative solution
I agree, I think we should stick to the dialogs for now as that would be the ideal solution.
https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-channeldata#create-a-full-fidelity-slack-message
https://api.slack.com/docs/message-menus
Message menus are not a feature that is built into the Bot SDK, but can be implemented using Activities channel data.
KeyboardCard.cs in the SDK does a similar thing for facebook "quick replies" https://developers.facebook.com/docs/messenger-platform/send-messages/quick-replies
https://github.com/Microsoft/BotBuilder/blob/605eeceb36c01771d7146b39a6ec8b2184ad41a6/CSharp/Library/Microsoft.Bot.Builder/ConnectorEx/KeyboardCard.cs