UNPKG

@microsoft/teams.cards

Version:

<p> <a href="https://www.npmjs.com/package/@microsoft/teams.cards" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.cards/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.cards?activeTab=c

30 lines (27 loc) 1.14 kB
import { SubmitAction, ISubmitAction, ISubmitActionData, ITabInfo, SubmitActionOptions, IInvokeSubmitActionData } from '../../core.js'; type CollabStageActionOptions = SubmitActionOptions & { data: ISubmitActionData; }; /** * Adaptive Card action response type for the {@link CollabStageAction} function. */ interface ICollabStageAction extends ISubmitAction { /** * Initial data that input fields will be combined with. These are essentially 'hidden' properties. */ data: ISubmitActionData; } /** * Adaptive Card action that opens a collab stage popout window. */ declare class CollabStageAction extends SubmitAction implements ICollabStageAction { /** * Initial data that input fields will be combined with. These are essentially 'hidden' properties. */ data: ISubmitActionData; constructor(tab?: ITabInfo, options?: SubmitActionOptions); static from(options: CollabStageActionOptions): CollabStageAction; withData(value: IInvokeSubmitActionData): this; withValue(value: ITabInfo): this; } export { CollabStageAction, type CollabStageActionOptions, type ICollabStageAction };