@microsoft/teams-ai
Version:
SDK focused on building AI based applications for Microsoft Teams.
22 lines • 666 B
JavaScript
;
/**
* @module teams-ai
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.flaggedInput = flaggedInput;
const Action_1 = require("./Action");
/**
* @private
* @returns {Function} An async function that logs an error message and returns StopCommandName.
*/
function flaggedInput() {
return async () => {
console.error(`The users input has been moderated but no handler was registered for 'AI.FlaggedInputActionName'.`);
return Action_1.StopCommandName;
};
}
//# sourceMappingURL=FlaggedInput.js.map