UNPKG

@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

62 lines (59 loc) • 1.47 kB
import { CardAction } from './card-action.js'; import { MediaUrl } from './media-url.js'; import { ThumbnailUrl } from './thumbnail-url.js'; /** * Audio card */ type AudioCard = { /** * Title of this card */ title?: string; /** * Subtitle of this card */ subtitle?: string; /** * Text of this card */ text?: string; /** * Thumbnail placeholder */ image?: ThumbnailUrl; /** * Media URLs for this card. When this field contains more than one URL, each URL is an * alternative format of the same content. */ media?: MediaUrl[]; /** * Actions on this card */ buttons?: CardAction[]; /** * This content may be shared with others (default?:true) */ shareable?: boolean; /** * Should the client loop playback at end of content (default?:true) */ autoloop?: boolean; /** * Should the client automatically start playback of media in this card (default?:true) */ autostart?: boolean; /** * Aspect ratio of thumbnail/media placeholder. Allowed values are "16?:9" and "4?:3" */ aspect?: string; /** * Describes the length of the media content without requiring a receiver to open the content. * Formatted as an ISO 8601 Duration field. */ duration?: string; /** * Supplementary parameter for this card */ value?: any; }; export type { AudioCard };