-
Notifications
You must be signed in to change notification settings - Fork 255
URL not detected by slack #50
Comments
Same here. This seemed to be related to this issue - slackapi/hubot-slack#114 Although the above link refers to hubot slack bot issues, deep down the discussions tell that the issue is server-side, and it looks like it was fixed just recently. Still this did not work in my case and its very frustrating because the related docs seemed to assume this works and dead simple to achieve. |
It's not a bug. Slack RTM doesn't support message formatting. There are forks that use this hack
|
@Hunsu If you followed that post, it is clear that there was a bug on the server-side, and no RTM supports formatting but just a subset of the Web API. In any case the documents only said what RTM did not support with regards to formatting is only the attachments. I expect that hack should work. Cheers. |
Correct, the RTM API doesn't currently support this kind of message formatting. I'm working on making it easier to make Web API calls from within the RTMBot, but haven't finished that yet unfortunately. The above solution should work though, as it's using the python-slackclient library to call the Slack Web API directly. There are some more docs for this method here if you want to dig into it: https://api.slack.com/methods/chat.postMessage I'll leave this issue open until I get the code written to make this an easier part of RTMBot. |
Closing this as the Web API is now available in your plugins. See #57 for more info. |
When I do
The URL is not detected by Slack.
The text was updated successfully, but these errors were encountered: