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.
<PackageVersion Include="slack-client" Version="1.0.0" />
<PackageReference Include="slack-client" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add slack-client --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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.
#:package slack-client@1.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=slack-client&version=1.0.0
#tool nuget:?package=slack-client&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
.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 | 649 | 6/29/2020 |
Initial release