Hi,
I would like to suggest an enhancement for SlackMesage that would allow us to utilize unfurling links in messages we post. Despite the fact that here is described that:
By default we unfurl all links in any messages posted by users and Slack apps.
Inside the slack app directory for a channel under:

In the Message Attachments area we can find this:

In an integration we did with a slack webhook, we found that we had to pass also this property to the slack message, in order unfurling of our links to work.
Our quick solution was to do this (since we always wanted unfurling of our links to work):
public class ExtendedSlackMessage : SlackMessage
{
public bool unfurl_links { get; } = true;
}
and instead of creating instances of SlackMessage, we decided to create instances of ExtendedSlackMessage to post
slackClient.Post(slackMessage);
A more clean solution, it would be to define this as a property in SlackMessage class.
Do you want I open a PR for this enhancment ?
Hi,
I would like to suggest an enhancement for
SlackMesagethat would allow us to utilize unfurling links in messages we post. Despite the fact that here is described that:Inside the slack app directory for a channel under:
In the Message Attachments area we can find this:
In an integration we did with a slack webhook, we found that we had to pass also this property to the slack message, in order unfurling of our links to work.
Our quick solution was to do this (since we always wanted unfurling of our links to work):
and instead of creating instances of
SlackMessage, we decided to create instances ofExtendedSlackMessageto postA more clean solution, it would be to define this as a property in
SlackMessageclass.Do you want I open a PR for this enhancment ?