/** * @example * { * name: "Test Campaign", * recipients: {}, * scheduledAt: "2017-06-01T12:30:00+02:00", * templateId: 19 * } */ export interface CreateWhatsAppCampaignRequest { /** Name of the WhatsApp campaign creation */ name: string; /** Segment ids and List ids to include/exclude from campaign */ recipients: CreateWhatsAppCampaignRequest.Recipients; /** Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.For example: **2017-06-01T12:30:00+02:00** */ scheduledAt: string; /** Id of the WhatsApp template in **approved** state */ templateId: number; } export declare namespace CreateWhatsAppCampaignRequest { /** * Segment ids and List ids to include/exclude from campaign */ interface Recipients { /** List ids to exclude from the campaign */ excludedListIds?: number[] | undefined; /** **Mandatory if scheduledAt is not empty**. List Ids to send the campaign to */ listIds?: number[] | undefined; /** **Mandatory if listIds are not used**. Segment ids to send the campaign to. */ segments?: number[] | undefined; } }