/** * @example * { * bodyText: "making it look like readable English", * category: "MARKETING", * language: "en", * name: "Test template" * } */ export interface CreateWhatsAppTemplateRequest { /** Body of the template. **Maximum allowed characters are 1024** */ bodyText: string; /** Category of the template */ category: CreateWhatsAppTemplateRequest.Category; /** Text content of the header in the template. **Maximum allowed characters are 45** **Use this field to add text content in template header and if mediaUrl is empty** */ headerText?: string; /** * Language of the template. For Example : * **en** for English */ language: string; /** Absolute url of the media file **(no local file)** for the header. **Use this field in you want to add media in Template header and headerText is empty** Allowed extensions for media files are: #### jpeg | png | mp4 | pdf */ mediaUrl?: string; /** Name of the template */ name: string; /** source of the template */ source?: CreateWhatsAppTemplateRequest.Source; } export declare namespace CreateWhatsAppTemplateRequest { /** Category of the template */ const Category: { readonly Marketing: "MARKETING"; readonly Utility: "UTILITY"; }; type Category = (typeof Category)[keyof typeof Category]; /** source of the template */ const Source: { readonly Automation: "Automation"; readonly Conversations: "Conversations"; }; type Source = (typeof Source)[keyof typeof Source]; }