@microsoft/agents-hosting-teams
Version:
Microsoft 365 Agents SDK for JavaScript
39 lines (38 loc) • 854 B
TypeScript
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
* Licensed under the MIT License.
*/
import { z } from 'zod';
/**
* Represents information about a channel.
*/
export interface ChannelInfo {
/**
* The ID of the channel.
*/
id?: string;
/**
* The name of the channel.
*/
name?: string;
/**
* The type of the channel.
*/
type?: string;
}
/**
* Zod schema for validating ChannelInfo objects.
*/
export declare const channelInfoZodSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodString>;
name: z.ZodOptional<z.ZodString>;
type: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
type?: string | undefined;
id?: string | undefined;
name?: string | undefined;
}, {
type?: string | undefined;
id?: string | undefined;
name?: string | undefined;
}>;