Interface IgcChatMessageAttachment

Represents an attachment associated with a chat message.

Properties

file?: File

The actual File object, if the attachment was provided locally (e.g. via upload).

id: string

A unique identifier for the attachment.

name: string

The display name of the attachment (e.g. file name).

thumbnail?: string

Optional URL to a thumbnail preview of the attachment (e.g. for images or videos).

type?: string

The MIME type or a custom type identifier for the attachment (e.g. "image/png", "pdf", "audio").

url?: string

The URL from which the attachment can be downloaded or viewed. Typically used for attachments stored on a server or CDN.