UNPKG

express-msteams-host

Version:
17 lines 652 B
"use strict"; // 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