IgcChatMessageAttachment
Represents an attachment associated with a chat message.
Properties
Section titled "Properties"Optional file
Section titled "file"The actual File object, if the attachment was provided locally (e.g. via upload).
file?: File Defined in src/components/chat/types.ts:62
A unique identifier for the attachment.
id: string Defined in src/components/chat/types.ts:46
The display name of the attachment (e.g. file name).
name: string Defined in src/components/chat/types.ts:51
Optional thumbnail
Section titled "thumbnail"Optional URL to a thumbnail preview of the attachment (e.g. for images or videos).
thumbnail?: string Defined in src/components/chat/types.ts:72
Optional type
Section titled "type"The MIME type or a custom type identifier for the attachment (e.g. "image/png", "pdf", "audio").
type?: string Defined in src/components/chat/types.ts:67
Optional url
Section titled "url"The URL from which the attachment can be downloaded or viewed. Typically used for attachments stored on a server or CDN.
url?: string Defined in src/components/chat/types.ts:57