import type * as Pinnacle from "../index.mjs";
/**
* RCS message containing cards, each with its own title, subtitle, and/or buttons. Quick replies can also be added.
*
* See [supported file types](https://app.pinnacle.sh/supported-file-types?type=RCS-CARD).
*/
export interface MessageEventRcsCardsContent {
/**
* Unique identifier of the message. This identifier is a string that always begins with the prefix `msg_`, for example: `msg_1234567890`.
* To get the message details, use the [GET /messages/{id}](/api-reference/messages/get) endpoint.
*/
id: string;
/**
* Collection of cards attached to the message.
* **Limit:** 1 to 10
*/
cards: MessageEventRcsCardsContent.Cards.Item[];
/**
* List of interactive quick reply buttons in the message.
* **Limit:** 10 max
*/
quickReplies: Pinnacle.RichButton[];
}
export declare namespace MessageEventRcsCardsContent {
type Cards = Cards.Item[];
namespace Cards {
/**
* Individual card containing title, optional media, and action buttons.
*/
interface Item {
/**
* Action buttons attached to the card.
* **Limit:** 4 max
*/
buttons: Pinnacle.RichButton[];
media?: Pinnacle.RcsMediaDetailsContent;
/** Secondary text displayed below the title for additional context. */
subtitle?: string;
/** Title displayed on the card. */
title: string;
}
}
}