@microsoft/agents-hosting
Version:
Microsoft 365 Agents SDK for JavaScript
36 lines (35 loc) • 693 B
TypeScript
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
* Licensed under the MIT License.
*/
import { CardAction } from '@microsoft/agents-activity';
import { CardImage } from './cardImage';
/**
* Represents a thumbnail card.
*/
export interface ThumbnailCard {
/**
* The title of the card.
*/
title: string;
/**
* The subtitle of the card.
*/
subtitle: string;
/**
* The text of the card.
*/
text: string;
/**
* The images of the card.
*/
images: CardImage[];
/**
* The buttons of the card.
*/
buttons: CardAction[];
/**
* The tap action of the card.
*/
tap: CardAction;
}