slack-api-docs icon indicating copy to clipboard operation
slack-api-docs copied to clipboard

Docs say RTM supports message formatting, but apparently do not

Open DanTup opened this issue 11 years ago • 6 comments

In the RTM docs, it says:

The RTM API only supports posting simple messages formatted using our default message formatting mode.

The first thing on the linked page is for URLs. However, I was unable to make this work and got the response:

Sorry, the RTM API doesn't support formatted links. Try the chat.postMessage API method instead.

This should be clarified in the docs. I spent some time debugging before realising it wasn't my code, and I suspect others might do the same.

(Or, even better, add support for it and make the API match the docs)

DanTup avatar Jul 25 '15 07:07 DanTup

:+1: I just spent about an hour trying to get links to work before I found this issue.

clintkelly avatar Aug 14 '15 21:08 clintkelly

Thanks for bringing this up, and sorry for the hassle! This is on our list to improve and clarify in our documentation. If there's anything else we can help with, we'll be keeping an eye on issues here, but for a generally quicker response, we're also at [email protected]. Thanks again!

awalla avatar Sep 04 '15 12:09 awalla

Why did this get closed. I also just wasted an hour.

zackify avatar Dec 16 '15 15:12 zackify

looks like @awalla is a bot, other issues are closed without them actually be fixing and the same message added.

dcsan avatar Dec 17 '15 02:12 dcsan

@zackify @dcsan As awalla mentioned (who is one of our support agents, and not a bot), we keep an eye on things here, but we don't actively do support here. Your best bet for questions about the API is emailing [email protected].

The most up-to-date version of the docs are at https://api.slack.com/. This repo is updated regularly from that. We will get the formatting info for the RTM API looked at tomorrow. Thanks for bringing it up.

mccreath avatar Dec 17 '15 03:12 mccreath

The bot doesn't seem to get it's text formatted when sending replies. I'm using the new botkit. I'm really liking it! :) On Wed, Dec 16, 2015 at 22:46 David McCreath [email protected] wrote:

@zackify https://github.com/zackify @dcsan https://github.com/dcsan As awalla mentioned (who is one of our support agents, and not a bot), we keep an eye on things here, but we don't actively do support here. Your best bet for questions about the API is emailing [email protected].

The most up-to-date version of the docs are at https://api.slack.com/. This repo is updated regularly from that. We will get the formatting info for the RTM API looked at tomorrow. Thanks for bringing it up.

— Reply to this email directly or view it on GitHub https://github.com/slackhq/slack-api-docs/issues/32#issuecomment-165329472 .

zackify avatar Dec 17 '15 04:12 zackify