Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/slack_bolt/src/conversation-store.ts>conversationContext

TypeScript framework to build Slack apps in a flash with the latest platform features. Deno port of @slack/bolt
Latest
function conversationContext
import { conversationContext } from "https://deno.land/x/slack_bolt@1.0.0/src/conversation-store.ts";

Conversation context global middleware.

This middleware allows listeners (and other middleware) to store state related to the conversationId of an incoming event using the context.updateConversation() function. That state will be made available in future events that take place in the same conversation by reading from context.conversation.

Type Parameters

optional
ConversationState = any

Parameters

storage backend used to store and retrieve all conversation state