express-msteams-host
Version:
Express utility for Microsoft Teams solutions
17 lines • 652 B
JavaScript
// Copyright (c) Wictor Wilén. All rights reserved.W
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.OutgoingWebhookDeclaration = void 0;
/**
* Decorator function for Outgoing Webhooks
* @param endpoint The endpoint which the Webhook should listen to (typically '/api/webhook')
*/
function OutgoingWebhookDeclaration(endpoint) {
return function (target) {
target.__isOutgoingWebhook = true;
target.__serviceEndpoint = endpoint;
};
}
exports.OutgoingWebhookDeclaration = OutgoingWebhookDeclaration;
//# sourceMappingURL=OutgoingWebhookDeclaration.js.map
;