UNPKG

express-msteams-host

Version:
22 lines 837 B
"use strict"; // Copyright (c) Wictor Wilén. All rights reserved. // Licensed under the MIT license. Object.defineProperty(exports, "__esModule", { value: true }); exports.MessageExtensionDeclaration = void 0; /** * Decorator function for Messaging Extensions * @param name Name of the messaging extension matching the commandId to filter commands on, or skip for catch-all scenarios */ function MessageExtensionDeclaration(name) { return function (target, propertyKey) { if (target.__messageExtensions === undefined) { target.__messageExtensions = []; } target.__messageExtensions.push({ propertyKey: propertyKey, name: name }); }; } exports.MessageExtensionDeclaration = MessageExtensionDeclaration; //# sourceMappingURL=MessageExtensionDeclaration.js.map