/** * SMS/MMS fallback message to send if the RCS message fails to deliver. * * When a recipient's device doesn't support RCS, this fallback message will be sent as SMS or MMS instead. The fallback is sent from the specified phone number. * * > **Note:** At least one of `text` or `mediaUrls` must be provided. Fallback messages require a verified `from` phone number with SMS/MMS sending capabilities. * * > **Billing:** You will be charged the standard SMS or MMS rate for the fallback message. The original RCS message will not be charged if the fallback is sent instead. */ export interface FallbackMessage { /** * Phone number to send the fallback message from in E.164 format. * * Must be a verified phone number with SMS/MMS sending capabilities. Sandbox numbers cannot be used for fallbacks. The phone number must be connected to an active toll-free or 10DLC campaign. */ from: string; /** * Text content for the fallback message. * * At least one of `text` or `mediaUrls` must be provided. * * If `mediaUrls` is empty and the text fits within SMS segment limits, the fallback will be sent as SMS. Otherwise, it will be sent as MMS. You will only be billed for the message sent. */ text?: string; /** * Media file URLs to include in the fallback MMS message. * * See [supported media types](https://app.pinnacle.sh/supported-file-types?type=MMS). * * If provided, the fallback will be sent as MMS. Otherwise, it will be sent as SMS (if text fits within segment limits). At least one of `text` or `mediaUrls` must be provided. */ mediaUrls?: string[]; }