/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
 * Represents the files attached to a message.
 */
export interface ChatFile {
    /**
     * Sets the unique identifier for the file.
     */
    id: string | number;
    /**
     * Sets the file name.
     */
    name: string;
    /**
     * Sets the file size in bytes.
     */
    size: number;
    /**
     * Sets the MIME type, for example, `'application/pdf'`.
     */
    type: string;
    /**
     * Sets the file extension, for example, `'.pdf'` or `'.jpg'`.
     */
    extension: string;
    /**
     * Provides an in-memory representation of the file.
     */
    rawFile?: File;
    /**
     * Sets the optional URL to download or view the file.
     */
    url?: string;
    /**
     * Sets the optional preview image URL.
     */
    thumbnailUrl?: string;
}
