@botonic/react
Version:
Build Chatbots using React
21 lines (20 loc) • 666 B
TypeScript
export declare const WHATSAPP_MAX_BUTTON_LIST_CHARS = 24;
export declare const WHATSAPP_MAX_BUTTON_LIST_DESCRIPTION_CHARS = 72;
export declare const WHATSAPP_MAX_BUTTON_LIST_ID_CHARS = 200;
export interface WhatsappButtonListSectionProps {
title?: string;
rows: WhatsappButtonListRowProps[];
}
export interface WhatsappButtonListRowProps {
id: string;
title: string;
description?: string;
}
export interface WhatsappButtonListProps {
header?: string;
body: string;
footer?: string;
button: string;
sections: WhatsappButtonListSectionProps[];
}
export declare const WhatsappButtonList: (props: WhatsappButtonListProps) => any;