@progress/kendo-angular-conversational-ui
Version:
Kendo UI for Angular Conversational UI components
42 lines (41 loc) • 1.04 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Represents the files that are part of the Message.
*/
export interface ChatFile {
/**
* Unique identifier for the file.
*/
id: string | number;
/**
* File name.
*/
name: string;
/**
* File size in bytes.
*/
size: number;
/**
* MIME type, e.g., 'application/pdf'
*/
type: string;
/**
* File extension, e.g., '.pdf', '.jpg'.
*/
extension: string;
/**
* An in-memory representation of the file.
*/
rawFile?: File;
/**
* Optional URL to download/view the file.
*/
url?: string;
/**
* Optional preview image URL.
*/
thumbnailUrl?: string;
}