UNPKG

@botonic/plugin-flow-builder

Version:

Botonic plugin for **Hubtype Flow Builder**: run and bridge flow-driven logic from bots on the **current** line.

11 lines (10 loc) 513 B
import { BotonicContext } from '@botonic/core'; import { FlowContent } from '../content-fields'; export type FlowBuilderActionProps = { contents: FlowContent[]; }; export declare class FlowBuilderAction { static executeConversationStart(botonicContext: BotonicContext): Promise<FlowContent[]>; static botonicInit(botonicContext: BotonicContext, contentID?: string): Promise<FlowContent[]>; static prepareContents(botonicContext: BotonicContext, contents: FlowContent[]): Promise<FlowContent[]>; }