Card action that displays a link preview card and smart chip in the host app.
const decoratedText = CardService.newDecoratedText() .setTopLabel('Hello') .setText('Hi!');
const cardSection = CardService.newCardSection() .addWidget(decoratedText);
const card = CardService.newCardBuilder() .addSection(cardSection) .build();
const linkPreview = CardService.newLinkPreview() .setPreviewCard(card) .setTitle('Smart chip title');
Card action that displays a link preview card and smart chip in the host app.
const decoratedText = CardService.newDecoratedText() .setTopLabel('Hello') .setText('Hi!');
const cardSection = CardService.newCardSection() .addWidget(decoratedText);
const card = CardService.newCardBuilder() .addSection(cardSection) .build();
const linkPreview = CardService.newLinkPreview() .setPreviewCard(card) .setTitle('Smart chip title');