Add one card, or an array of cards. Media, text-only, and button-only cards are accepted.
Add a text/button-only card without manually constructing the proto-shaped card.
Optionalcard: CarouselTextCardOptionsBuild the WAMessage without sending. Pass { validate: true } to run assertValid() first.
Optionaloptions: Record<string, any> & { validate?: boolean }Build and send. Validates by default; pass { validate:false } only for low-level experiments.
Optionaloptions: Record<string, any> & { validate?: boolean }Configure carousel-level proto metadata. Defaults: { carouselCardType: UNKNOWN, messageVersion: 1 }.
Optionaloptions: CarouselOptionsStaticassessStaticis
Chainable carousel builder (max 10 cards — enforced, WA truncates beyond that).