Currently with the Slack Bot, if you post a link as a reply such as - https://www.example.com
It will show up on chat as <https://www.example.com>, which basically beats the purpose of sending a link in a response to the customer.
If we change the type to mrkdwn and add a new field verbatim to true, Slack should stop any pre-processing of the links, sending the URL's as it is, and we can also probably send Hyperlinked Text.
These changes can be made into the - app/services/message_apis/slack.rb and spec/controllers/api/v1/hooks/slack_spec.rb, in the ruby app.
Hi there,
Currently with the Slack Bot, if you post a link as a reply such as - https://www.example.com It will show up on chat as
<https://www.example.com>
, which basically beats the purpose of sending a link in a response to the customer.However, according to this https://api.slack.com/reference/surfaces/formatting#automatic-parsing__disabling-automatic-parsing and this https://api.slack.com/reference/block-kit/composition-objects#text-object.
If we change the
type
tomrkdwn
and add a new fieldverbatim
totrue
, Slack should stop any pre-processing of the links, sending the URL's as it is, and we can also probably send Hyperlinked Text.These changes can be made into the -
app/services/message_apis/slack.rb
andspec/controllers/api/v1/hooks/slack_spec.rb
, in the ruby app.