express-msteams-host
Version:
Express utility for Microsoft Teams solutions
17 lines • 590 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.BotCallingWebhook = void 0;
require("reflect-metadata");
/**
* Decorator for methods to mark the webhook for the calling API
* @param endpoint Endpoint of the calling API webhook
* @deprecated
*/
function BotCallingWebhook(endpoint) {
return function (target, propertyKey, descriptor) {
Reflect.defineMetadata("msteams:calling", endpoint, target, propertyKey);
return descriptor;
};
}
exports.BotCallingWebhook = BotCallingWebhook;
//# sourceMappingURL=BotCallingWebhook.js.map
;