import { FileInfo } from '../../../model/FileInfo'; /** * Reference: https://developers.facebook.com/docs/whatsapp/on-premises/reference/messages#interactive-object */ export declare enum WhatsappInteractiveType { list = "list", button = "button", product = "product", product_list = "product_list", catalog_message = "catalog_message", flow = "flow", location_request_message = "location_request_message", cta_url = "cta_url" } export declare enum WhatsappInteractiveHeaderType { text = "text", video = "video", image = "image", document = "document" } export interface WhatsappInteractiveHeader { type: WhatsappInteractiveHeaderType; text?: string; media?: FileInfo; } export interface WhatsappInteractiveBody { text: string; } export interface WhatsappInteractiveFooter { text: string; } export declare enum WhatsappInteractiveReplyButtonType { REPLY = "reply" } export interface WhatsappInteractiveReplyButton { type: WhatsappInteractiveReplyButtonType; title: string; id: string; [key: string]: any; } export interface WhatsappInteractiveSessionRow { title: string; ID: string; description?: string; [key: string]: any; } export interface WhatsappInteractiveSession { title: string; id: string; rows: Array; [key: string]: any; } export interface WhatsappInteractiveAction { button?: string; buttons?: Array; sessions?: Array; name?: string; parameters?: { thumbnail_product_retailer_id?: string; flow_id?: string; flow_cta?: string; flow_message_version?: string; [key: string]: any; }; } export interface WhatsappInteractive { type: WhatsappInteractiveType; header?: WhatsappInteractiveHeader | null; body?: WhatsappInteractiveBody | null; footer?: WhatsappInteractiveFooter | null; action: WhatsappInteractiveAction; }