ConversationFlavor
ref / conversations / ConversationFlavor
Context flavor for the conversations plugin. Adds the conversation control panel ctx
which e.g. allows entering a conversation. It also adds some properties to the session which the conversation plugin needs.
Type Parameters
C
ts
C extends Context | undefined = undefined
Type
ts
{ conversation: ConversationControls } & (C extends Context ? C extends LazySessionFlavor<infer> ? Omit<C, "session"> & LazySessionFlavor<ConversationSessionData & V> : C & SessionFlavor<ConversationSessionData> : SessionFlavor<ConversationSessionData> | LazySessionFlavor<ConversationSessionData>)