@microsoft/teams.apps
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.apps" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.apps/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.apps?activeTab=code
21 lines (20 loc) • 512 B
TypeScript
import { Activity, ConversationReference, InvokeResponse } from '@microsoft/teams.api';
import { ISender } from './sender';
/**
* the event emitted by a plugin
* before an activity response is sent
*/
export interface IPluginActivityResponseEvent extends ConversationReference {
/**
* the sender
*/
readonly sender: ISender;
/**
* inbound request activity payload
*/
readonly activity: Activity;
/**
* the response
*/
readonly response: InvokeResponse;
}