{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3144","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3144/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3144/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3144/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/3144","id":243403683,"number":3144,"title":"[Question] Use Invoke buttons in MS Teams and Slack?","user":{"login":"santiagodoldan","id":1096526,"avatar_url":"https://avatars3.githubusercontent.com/u/1096526?v=4","gravatar_id":"","url":"https://api.github.com/users/santiagodoldan","html_url":"https://github.com/santiagodoldan","followers_url":"https://api.github.com/users/santiagodoldan/followers","following_url":"https://api.github.com/users/santiagodoldan/following{/other_user}","gists_url":"https://api.github.com/users/santiagodoldan/gists{/gist_id}","starred_url":"https://api.github.com/users/santiagodoldan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiagodoldan/subscriptions","organizations_url":"https://api.github.com/users/santiagodoldan/orgs","repos_url":"https://api.github.com/users/santiagodoldan/repos","events_url":"https://api.github.com/users/santiagodoldan/events{/privacy}","received_events_url":"https://api.github.com/users/santiagodoldan/received_events","type":"User","site_admin":false},"labels":[{"id":487732758,"url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/MS%20Teams","name":"MS Teams","color":"5319e7","default":false},{"id":429202607,"url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/Node%20SDK","name":"Node SDK","color":"6eff54","default":false},{"id":335881076,"url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/question","name":"question","color":"b60205","default":true},{"id":546589765,"url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/Slack","name":"Slack","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-07-17T13:56:07Z","updated_at":"2017-07-19T16:53:17Z","closed_at":null,"body":"## System Information\r\n* SDK Language: NODE\r\n* SDK Version: 3.8.4\r\n* Development Environment: LOCALHOST\r\n\r\n## Issue Description\r\nI'm building a menu with buttons to let users configure their bot easily (this needs to work only in teams and slack), the problem I'm facing is that `postBack` isn't supported in MS Teams, so I'm playing with the new `invoke` stuff, but it looks like there isn't an implementation in Node yet, so I modified the CardAction class to play with it for now 👉  https://github.com/suttna/BotBuilder/commit/b1bef0aaf827c4834ad0dba993ccde8e3bc366c3\r\n\r\nIn MS Teams works ok, but when I use the same message structure in a Slack channel, Slack does not render buttons, it looks like it tries to render a link but it shows plain text (there's an attachment below).\r\n\r\n## Code Example\r\n```\r\n// This is using the new function I added in the above GH link\r\nconst buttons = [builder.CardAction.invoke(session, 'apple', 'apple'),\r\n                             builder.CardAction.invoke(session, 'orange', 'orange')]\r\n\r\nconst attachment = new builder.HeroCard(session)\r\n  .title(message).buttons(buttons)\r\n\r\nsession.send(new builder.Message(session).addAttachment(attachment))\r\n```\r\n\r\n## Expected Behavior\r\nBeing able to use invoke buttons in Slack.\r\n\r\n## Actual Results\r\n<img width=\"403\" alt=\"screen shot 2017-07-17 at 10 50 32 am\" src=\"https://user-images.githubusercontent.com/1096526/28271171-338946de-6ade-11e7-9c82-86c8e3c836fd.png\">\r\n\r\n![screen shot 2017-07-17 at 10 50 54 am](https://user-images.githubusercontent.com/1096526/28271172-338cee4c-6ade-11e7-8aea-9bfa9c82ae2b.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/316449061","html_url":"https://github.com/Microsoft/BotBuilder/issues/3144#issuecomment-316449061","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3144","id":316449061,"user":{"login":"bilby91","id":2201079,"avatar_url":"https://avatars0.githubusercontent.com/u/2201079?v=4","gravatar_id":"","url":"https://api.github.com/users/bilby91","html_url":"https://github.com/bilby91","followers_url":"https://api.github.com/users/bilby91/followers","following_url":"https://api.github.com/users/bilby91/following{/other_user}","gists_url":"https://api.github.com/users/bilby91/gists{/gist_id}","starred_url":"https://api.github.com/users/bilby91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilby91/subscriptions","organizations_url":"https://api.github.com/users/bilby91/orgs","repos_url":"https://api.github.com/users/bilby91/repos","events_url":"https://api.github.com/users/bilby91/events{/privacy}","received_events_url":"https://api.github.com/users/bilby91/received_events","type":"User","site_admin":false},"created_at":"2017-07-19T16:53:17Z","updated_at":"2017-07-19T16:53:17Z","body":"Any update on this ?"}}
{"actor":{"display_login":"bilby91"}}