A card section holds groups of widgets and provides visual separation between them.
var image = CardService.newImage(); // Build image ... var textParagraph = CardService.newTextParagraph(); // Build text paragraph ... var cardSection = CardService.newCardSection() .setHeader("Section header") .addWidget(image) .addWidget(textParagraph);
A card section holds groups of widgets and provides visual separation between them.