@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
25 lines (23 loc) • 601 B
text/typescript
/**
* Defines the structure that arrives in the Activity.Value.Action for Invoke
* activity with Name of 'adaptiveCard/action'.
*/
type AdaptiveCardInvokeAction = {
/**
* The Type of this Adaptive Card Invoke Action.
*/
type: 'Action.Execute' | 'Action.Submit';
/**
* The id of this Adaptive Card Invoke Action.
*/
id?: string;
/**
* The Verb of this adaptive card action invoke.
*/
verb?: string;
/**
* The Data of this adaptive card action invoke.
*/
data: Record<string, any>;
};
export type { AdaptiveCardInvokeAction };