@botonic/plugin-flow-builder
Version:
Use Flow Builder to show your contents
21 lines (20 loc) • 859 B
TypeScript
/// <reference types="react" />
import { ActionRequest, WhatsappCTAUrlHeaderType } from '@botonic/react';
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;
headerType?: WhatsappCTAUrlHeaderType;
headerImage?: string;
headerVideo?: string;
headerDocument?: string;
footer?: string;
displayText: string;
url: string;
static fromHubtypeCMS(component: HtWhatsappCTAUrlButtonNode, locale: string, cmsApi: FlowBuilderApi): FlowWhatsappCtaUrlButtonNode;
private static setHeader;
trackFlow(request: ActionRequest): Promise<void>;
toBotonic(id: string, request: ActionRequest): JSX.Element;
}