/** * @example * { * content: "Get a discount by visiting our NY store and saying : Happy Spring!", * name: "Spring Promo Code", * sender: "MyShop" * } */ export interface CreateSmsCampaignRequest { /** Content of the message. The **maximum characters used per SMS is 160**, if used more than that, it will be counted as more than one SMS. */ content: string; /** Name of the campaign */ name: string; /** A recognizable prefix will ensure your audience knows who you are. Recommended by U.S. carriers. This will be added as your Brand Name before the message content. **Prefer verifying maximum length of 160 characters including this prefix in message content to avoid multiple sending of same sms.** */ organisationPrefix?: string; recipients?: CreateSmsCampaignRequest.Recipients; /** UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** */ scheduledAt?: string; /** Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters** */ sender: string; /** Format of the message. It indicates whether the content should be treated as unicode or not. */ unicodeEnabled?: boolean; /** Instructions to unsubscribe from future communications. Recommended by U.S. carriers. Must include **STOP** keyword. This will be added as instructions after the end of message content. **Prefer verifying maximum length of 160 characters including this instructions in message content to avoid multiple sending of same sms.** */ unsubscribeInstruction?: string; } export declare namespace CreateSmsCampaignRequest { interface Recipients { /** List ids which have to be excluded from a campaign */ exclusionListIds?: number[] | undefined; /** Lists Ids to send the campaign to. **REQUIRED if scheduledAt is not empty** */ listIds: number[]; } }