import type * as Pinnacle from "../index.mjs"; export interface RichCardsMessage extends Pinnacle.RichCards { /** Configure how your RCS message is sent and tracked. */ options?: RichCardsMessage.Options; /** Your RCS agent ID which must be prefixed with 'agent_'. */ from: string; fallback?: Pinnacle.FallbackMessage; /** Recipient's phone number in E.164 format. */ to: string; } export declare namespace RichCardsMessage { /** * Configure how your RCS message is sent and tracked. */ interface Options { schedule?: Pinnacle.MessageSchedule; tracking?: Pinnacle.Tracking; /** Media files and card media will be transcoded to a supported RCS format. This adds a small delay to sending the message. Ignored for rich text messages. */ transcode?: boolean; /** * Validate your message for any unsupported files.
* * If failed, errors will be thrown and the message will not send. */ validate?: boolean; /** * Configure standalone card layout options for enhanced visual presentation. * * > **⚠️ Important Restriction** * > * > This option is **only valid for single card messages** with static media. Using it with multiple cards will cause the request to fail with a validation error. * > GIFs and videos are not supported and will be rendered as vertical cards. */ standalone_card?: Options.StandaloneCard; } namespace Options { /** * Configure standalone card layout options for enhanced visual presentation. * * > **⚠️ Important Restriction** * > * > This option is **only valid for single card messages** with static media. Using it with multiple cards will cause the request to fail with a validation error. * > GIFs and videos are not supported and will be rendered as vertical cards. */ interface StandaloneCard { /** The orientation of the standalone card. */ orientation?: StandaloneCard.Orientation; /** The alignment of the image in the standalone card. This field is ignored if orientation is VERTICAL. */ image_alignment?: StandaloneCard.ImageAlignment; } namespace StandaloneCard { /** The orientation of the standalone card. */ const Orientation: { readonly Horizontal: "HORIZONTAL"; readonly Vertical: "VERTICAL"; }; type Orientation = (typeof Orientation)[keyof typeof Orientation]; /** The alignment of the image in the standalone card. This field is ignored if orientation is VERTICAL. */ const ImageAlignment: { readonly Left: "LEFT"; readonly Right: "RIGHT"; }; type ImageAlignment = (typeof ImageAlignment)[keyof typeof ImageAlignment]; } } }