slack-client 1.0.0

dotnet add package slack-client --version 1.0.0
NuGet\Install-Package slack-client -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="slack-client" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add slack-client --version 1.0.0
#r "nuget: slack-client, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install slack-client as a Cake Addin
#addin nuget:?package=slack-client&version=1.0.0

// Install slack-client as a Cake Tool
#tool nuget:?package=slack-client&version=1.0.0

.NET Core Slack client

Features

  • Works with slack-blocks - modern rich layout. Check it here https://api.slack.com/block-kit
  • Handles slack responses, modal-views with updating existing modals in stack-manner, works with different workplaces
  • Uses v2 of Slack authorization (OAuth2)
  • Uses modern conversations api (not everywhere yet)
  • Easy to install and use with DI

How to install

services.AddSlackClient(options => {
    options.SlackApi = "API of your workplace (like 'workplace_name.slack.com/api')";
    options.AppToken = "Token of your app, it's different for any workplace";
    options.ClientId = "It was given you after you Slack App was installed";
    options.ClientSecret = "The same as for the ClientId";
})

Then you can simple inject ISlackClient where you need

Feedback

Please, write me on olegmusinem@gmail.com!

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 536 6/29/2020

Initial release