Botframework-sdk: Link markdown only works in MS Teams

Created on 31 Aug 2017  ·  4Comments  ·  Source: microsoft/botframework-sdk

Bot Info

  • Bot handle:
  • App ID:
  • SDK Platform: Node.js
  • SDK Version: 3.8.4
  • Active Channels: MS Teams, Slack

Issue Description

I'm using markdown like [bing](http://bing.com) to show a link without showing the whole url (which is very long), it looks like this only works ok in MS Teams, in Slack it appears the url, not the text bing.

I know I can use <http://bing.com|bing> to show links in Slack, but that won't work ok in MS Teams, isn't there a way to show links correctly in both clients?

Code Example

session.say("[bing](http://bing.com)")

Expected Behavior

In Slack

=> bing

In Teams

=> bing

Actual Results

In Slack

=> http://bing.com

In Teams

=> bing

customer-replied-to

Most helpful comment

We've created a new package that converts markdown into Slack specific format, here is the repo https://github.com/suttna/botbuilder-markdown.

All 4 comments

For the slack channel please review their message formatting documentation it says the following:

  • Though we understand many people would love to use Markdown in Slack messages, we have no plans to support it. Our message formatting is similar to other popular services and is intended for a majority of our users who are unfamiliar with Markdown. However, we'll keep it in mind for the future.

  • Note: Hyperlinking words and terms in a Slack message isn't supported — to include a URL, paste it into the message input box. Visit Share links in Slack for more

Ok, thanks for the quick response.

This blog post https://blogs.msdn.microsoft.com/jamiedalton/2016/08/22/bot-framework-markdown-support-by-channel/ could be a bit confusing though, it says Slack supports markdown and the screenshot of slack shows the link correctly.

Thanks again 👍

I will try to get in contact with the blogger to correct this, thanks for pointing this out @santiagodoldan Good luck with your Bots!

We've created a new package that converts markdown into Slack specific format, here is the repo https://github.com/suttna/botbuilder-markdown.

Was this page helpful?
0 / 5 - 0 ratings