@botonic/plugin-flow-builder
Version:
Botonic plugin for **Hubtype Flow Builder**: run and bridge flow-driven logic from bots on the **current** line.
22 lines (21 loc) • 971 B
TypeScript
import { BotonicContext, BotServerMessage } from '@botonic/core';
import { WhatsappHeaderType } from '@botonic/shared';
import { FlowBuilderApi } from '../api';
import { ContentFieldsBase } from './content-fields-base';
import { HtWhatsappCTAUrlButtonNode } from './hubtype-fields';
export declare class FlowWhatsappCtaUrlButtonNode extends ContentFieldsBase {
text: string;
header?: string;
footer?: string;
headerType?: WhatsappHeaderType;
headerImage?: string;
headerVideo?: string;
headerDocument?: string;
displayText: string;
url: string;
static fromHubtypeCMS(component: HtWhatsappCTAUrlButtonNode, locale: string, cmsApi: FlowBuilderApi): FlowWhatsappCtaUrlButtonNode;
private static setHeader;
trackFlow(botonicContext: BotonicContext): Promise<void>;
processContent(botonicContext: BotonicContext): Promise<import(".").FlowContent>;
toBotonic(botonicContext: BotonicContext): Promise<BotServerMessage>;
}