UNPKG

@microsoft/agents-hosting

Version:

Microsoft 365 Agents SDK for JavaScript

44 lines (43 loc) 960 B
/** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { CardAction } from '@microsoft/agents-activity'; /** * Represents a task module action. */ export declare class TaskModuleAction implements CardAction { constructor(title: string, value: any); /** * The type of the action. */ type: string; /** * The title of the action. */ title: string; /** * The image associated with the action. */ image?: string | undefined; /** * The text associated with the action. */ text?: string | undefined; /** * The display text of the action. */ displayText?: string | undefined; /** * The value of the action. */ value: unknown; /** * The channel data of the action. */ channelData?: unknown; /** * The alt text for the image. */ imageAltText?: string | undefined; }