Soenneker.Slack.OpenApiClient
4.0.52
Prefix Reserved
dotnet add package Soenneker.Slack.OpenApiClient --version 4.0.52
NuGet\Install-Package Soenneker.Slack.OpenApiClient -Version 4.0.52
<PackageReference Include="Soenneker.Slack.OpenApiClient" Version="4.0.52" />
<PackageVersion Include="Soenneker.Slack.OpenApiClient" Version="4.0.52" />
<PackageReference Include="Soenneker.Slack.OpenApiClient" />
paket add Soenneker.Slack.OpenApiClient --version 4.0.52
#r "nuget: Soenneker.Slack.OpenApiClient, 4.0.52"
#:package Soenneker.Slack.OpenApiClient@4.0.52
#addin nuget:?package=Soenneker.Slack.OpenApiClient&version=4.0.52
#tool nuget:?package=Soenneker.Slack.OpenApiClient&version=4.0.52
Soenneker.Slack.OpenApiClient
Generated Slack Web API client for conversations, messages, files, users, teams, reactions, reminders, bookmarks, canvases, lists, workflows, apps, and administration.
Installation
dotnet add package Soenneker.Slack.OpenApiClient
For application registration, configuration-based authentication, and multi-workspace client caching, use Soenneker.Slack.OpenApiClientUtil. Instantiate this package directly when you need to supply your own Kiota request adapter.
Usage
using System.Net.Http.Headers;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Slack.OpenApiClient;
using Soenneker.Slack.OpenApiClient.Models;
var httpClient = new HttpClient
{
BaseAddress = new Uri("https://slack.com/")
};
httpClient.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", botToken);
var adapter = new HttpClientRequestAdapter(
new AnonymousAuthenticationProvider(),
httpClient: httpClient)
{
BaseUrl = httpClient.BaseAddress.ToString().TrimEnd('/')
};
var slack = new SlackOpenApiClient(adapter);
AuthTestResponse? identity = await slack.Api.AuthTest.PostAsync(
new AuthTestRequest(),
cancellationToken: cancellationToken);
Slack methods are exposed under client.Api using their Web API names without punctuation, such as AuthTest, ConversationsList, and ChatPostMessage. The token must include every scope required by the method being called.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Kiota.Http.HttpClientLibrary (>= 2.1.2)
- Microsoft.Kiota.Serialization.Form (>= 2.1.2)
- Microsoft.Kiota.Serialization.Json (>= 2.1.2)
- Microsoft.Kiota.Serialization.Multipart (>= 2.1.2)
- Microsoft.Kiota.Serialization.Text (>= 2.1.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Slack.OpenApiClient:
| Package | Downloads |
|---|---|
|
Soenneker.Slack.OpenApiClientUtil
Provides lazily initialized, authenticated Slack API clients for one or more workspaces. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.52 | 0 | 9/15/2026 |
| 4.0.51 | 54 | 9/14/2026 |
| 4.0.50 | 52 | 9/14/2026 |
| 4.0.49 | 221 | 9/8/2026 |
| 4.0.48 | 108 | 9/8/2026 |
| 4.0.47 | 219 | 9/4/2026 |
| 4.0.46 | 125 | 9/4/2026 |
| 4.0.45 | 168 | 9/3/2026 |
| 4.0.44 | 105 | 9/3/2026 |
| 4.0.43 | 88 | 9/3/2026 |
| 4.0.42 | 91 | 9/3/2026 |
| 4.0.41 | 102 | 9/3/2026 |
| 4.0.40 | 114 | 9/2/2026 |
| 4.0.39 | 100 | 9/1/2026 |
| 4.0.38 | 113 | 8/31/2026 |
| 4.0.37 | 153 | 8/31/2026 |
| 4.0.36 | 96 | 8/30/2026 |
| 4.0.35 | 167 | 8/29/2026 |
| 4.0.34 | 137 | 8/28/2026 |
| 4.0.33 | 166 | 8/24/2026 |