Note: Currently this is very early and has limited functionality.
This library provides an interface for interacting with the Slack API. Currently this provides a WebhookMessage model for use in data binding to requests from Slack. Also, it provides the ability to post messages (and ephemeral messages) to slack.
- Add the latest version of the library to your project from NuGet.org
- In the
ConfigureServices()
method of yourStartup.cs
, callservices.AddSlackDotNet()
and pass in aSlackConfig
object. - Add
ISlack
to your constructor where you want to use the library.