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
.
Parameters
store: ConversationStore<ConversationState>
storage backend used to store and retrieve all conversation state