@microsoft/agents-hosting
Version:
Microsoft 365 Agents SDK for JavaScript
24 lines (23 loc) • 675 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 Hero Card.
*/
export interface HeroCard {
/** The title of the card. */
title: string;
/** The subtitle of the card. */
subtitle: string;
/** The text content of the card. */
text: string;
/** The images to be displayed on the card. */
images: CardImage[];
/** The buttons to be displayed on the card. */
buttons: CardAction[];
/** The action to be performed when the card is tapped. */
tap: CardAction;
}