@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
12 lines (11 loc) • 455 B
TypeScript
import { App } from './app';
import { IActivityEvent } from './events';
import { IPlugin, ISender } from './types';
/**
* activity handler called when an inbound activity is received
* @param sender the plugin to use for sending activities
* @param event the received activity event
*/
export declare function $process<TPlugin extends IPlugin>(this: App<TPlugin>, sender: ISender, event: IActivityEvent): Promise<{
status: number;
} | undefined>;