@microsoft/teams.api
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.api" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.api/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.api?activeTab=code" t
35 lines (32 loc) • 697 B
text/typescript
import { CardAction } from './card-action.mjs';
import { CardImage } from './card-image.mjs';
/**
* A thumbnail card (card with a single, small thumbnail image)
*/
type ThumbnailCard = {
/**
* Title of the card
*/
title?: string;
/**
* Subtitle of the card
*/
subtitle?: string;
/**
* Text for the card
*/
text?: string;
/**
* Array of images for the card
*/
images?: CardImage[];
/**
* Set of actions applicable to the current card
*/
buttons?: CardAction[];
/**
* This action will be activated when user taps on the card itself
*/
tap?: CardAction;
};
export type { ThumbnailCard };