@microsoft/agents-hosting-teams
Version:
Microsoft 365 Agents SDK for JavaScript
19 lines • 623 B
JavaScript
;
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseTeamsChannelData = parseTeamsChannelData;
const channel_data_1 = require("../channel-data");
/**
* Parses the given object as TeamsChannelData.
*
* @param {object} o - The object to parse.
* @returns {TeamsChannelData} - The parsed TeamsChannelData.
*/
function parseTeamsChannelData(o) {
channel_data_1.teamsChannelDataZodSchema.passthrough().parse(o);
return o;
}
//# sourceMappingURL=teamsChannelDataParser.js.map