Hi!
I trying to use Slack interactive message menus (https://api.slack.com/docs/message-menus), but without success.
IMessageActivity replyMessage = context.MakeMessage();
replyMessage.ChannelData = new SlackChannelData { ... }
await context.PostAsync(message);
{
"text": "Would you like to play a game?",
"response_type": "in_channel",
"attachments": [
{
"text": "Choose a game to play",
"fallback": "If you could read this message, you'd be choosing something fun to do right now.",
"color": "#3AA3E3",
"attachment_type": "default",
"callback_id": "game_selection",
"actions": [
{
"name": "games_list",
"text": "Pick a game...",
"type": "select",
"options": [
{
"text": "Hearts",
"value": "hearts"
},
{
"text": "Bridge",
"value": "bridge"
},
{
"text": "Checkers",
"value": "checkers"
},
{
"text": "Chess",
"value": "chess"
},
{
"text": "Poker",
"value": "poker"
},
{
"text": "Falken's Maze",
"value": "maze"
},
{
"text": "Global Thermonuclear War",
"value": "war"
}
]
}
]
}
]
}
Result:

What's wrong?
Slack Menu support is coming very soon. The code updates are complete and are currently being tested and should be deployed to production sometime next week. Once the code is deployed you will be able to pass the payload above in ChannelData and it will render as a menu.
@craigjensen Sounds really good! But why ChannelData didn't work?
@wiltodelta I tried in node js,But same problem it is just displaying message ,not menu.. Is this feature for paid user of slack?
@wiltodelta - The channel data gets deserialized and inspected before being passed to Slack so we needed to update the schema to pass the data through. The code should go live in production sometime this week.
@aakashvit Thanks!
@craigjensen BotBuilder will always fail for the latest updates to Slack, Facebook, etc. We need a mechanism that allows developers to use the new features without having to wait for updates on your part.
@craigjensen @nwhitmont Can you tell me about the release date? Thank you!
It's live now - give it a try!
@craigjensen excellent!
Most helpful comment
It's live now - give it a try!