EnvelopeFlow.Providers.Chat.Slack
0.1.0-alpha.3.1
dotnet add package EnvelopeFlow.Providers.Chat.Slack --version 0.1.0-alpha.3.1
NuGet\Install-Package EnvelopeFlow.Providers.Chat.Slack -Version 0.1.0-alpha.3.1
<PackageReference Include="EnvelopeFlow.Providers.Chat.Slack" Version="0.1.0-alpha.3.1" />
<PackageVersion Include="EnvelopeFlow.Providers.Chat.Slack" Version="0.1.0-alpha.3.1" />
<PackageReference Include="EnvelopeFlow.Providers.Chat.Slack" />
paket add EnvelopeFlow.Providers.Chat.Slack --version 0.1.0-alpha.3.1
#r "nuget: EnvelopeFlow.Providers.Chat.Slack, 0.1.0-alpha.3.1"
#:package EnvelopeFlow.Providers.Chat.Slack@0.1.0-alpha.3.1
#addin nuget:?package=EnvelopeFlow.Providers.Chat.Slack&version=0.1.0-alpha.3.1&prerelease
#tool nuget:?package=EnvelopeFlow.Providers.Chat.Slack&version=0.1.0-alpha.3.1&prerelease
Slack chat notifications
Valid Retry-After delta/date floors up to seven days remain intact, including floors beyond one day. Larger, malformed, repeated or unrepresentable floors require review and never become an earlier automatic retry.
Optional Slack bot chat.postMessage adapter. A trusted asynchronous resolver maps the exact scoped owner/destination/version to a workspace, channel and bot token. Changes require a new destination version; never refresh an old queued target to a new channel or owner. Durable payloads hold typed plain text and optional parent thread timestamp, with no token or provider endpoint. The bot must have the appropriate installed workspace permissions/channel membership.
Requests use bearer authorization at the fixed https://slack.com/api/chat.postMessage endpoint, disable markdown, automatic mentions and link/media unfurling, and enforce the owned client's public DNS/HTTPS/no-redirect/no-retry policy. Bound text to 4,000 code units. Slack HTTP 200 ok=false is a refusal unless its internal/timeout error makes acceptance uncertain. Accepted responses require the exact channel and valid message timestamp. 429/ratelimited carry Retry-After; server failures, malformed/ambiguous success and post-send timeout are Unknown. One invocation makes at most one provider call.
Typed ChatCard content maps to literal header/section/field/image blocks, value/link buttons and static select menus. The fallback remains accessible text, with markdown, automatic mentions and unfurls disabled. Collections are detached before asynchronous resolution; oversized and duplicate identities are rejected. The optional durable bridge uses new ChatDeliveryTransport(name, scope, slackTransport) or an explicit synchronous admissionValidator: slackTransport.Validate to validate provider shapes before queue admission. Text-only existing construction remains compatible.
The 131,072-byte local request limit applies to the expanded Slack JSON, including fallback text repeated in blocks and JSON escaping. Synchronous validation uses the maximum supported 65-character ASCII channel ID so oversized cards fail before binding resolution or durable admission. Submission uses the same payload builder and checks the exact bound again before HTTP; local preparation failure is a definite rejection. This is EnvelopeFlow's bounded-request policy, rather than a claim about Slack's service payload limit.
SlackRequestVerifier checks v0:timestamp:exact raw bytes using the application-selected signing secret, bounded freshness and constant-time HMAC comparison. SlackCallbackTranslator.VerifyMessage then enforces the trusted workspace/app/channel, accepts bounded human message/file-share/thread observations, and rejects bot echoes, edits and unsupported subtypes. VerifyAction verifies the original form bytes before decoding exactly one payload field, requires the configured workspace/app/channel and message container, and normalizes one button or static-select action. It returns only bounded actor/message/selection data in InboundEvent; no response_url, callback token, arbitrary state or callback scope is trusted or followed. Values do not authorize an operation. Applications map the actor, recheck permissions and the original message/action, durably deduplicate Event.Key, and acknowledge within Slack's deadline. Callback observations never establish delivery/read evidence. No HTTP endpoint or callback-owner discovery is installed. Cache/dispose transports at host lifetime; resolve tokens and destination versions live.
Additional primary references verified 2026-10-23: message events, block actions, form payloads and acknowledgement, static select menus.
API references verified 2026-10-17: chat.postMessage, signed requests. The independently optional messaging integration provides a scope-bound durable Chat bridge; it does not add Slack to Core or the base package.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- EnvelopeFlow.Chat.Abstractions (>= 0.1.0-alpha.3.1)
- EnvelopeFlow.Inbound.Abstractions (>= 0.1.0-alpha.3.1)
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 |
|---|---|---|
| 0.1.0-alpha.3.1 | 47 | 11/22/2026 |
| 0.1.0-alpha.2.1 | 61 | 11/9/2026 |