import { type ConversationFlavor } from "https://deno.land/x/grammy_conversations@v1.1.0/conversation.ts";
Context flavor for the conversations plugin. Adds the conversation control
panel ctx.conversation
which e.g. allows entering a conversation. It also
adds some properties to the session which the conversation plugin needs.
Type Parameters
optional
C extends Context | undefined = undefineddefinition: { conversation: ConversationControls; } & (C extends Context ? C extends LazySessionFlavor<infer V> ? Omit<C, "session"> & LazySessionFlavor<ConversationSessionData & V> : C & SessionFlavor<ConversationSessionData> : SessionFlavor<ConversationSessionData> | LazySessionFlavor<ConversationSessionData>)