Skip to content

Attachment

Defined in: widgets/controls/chat/types.ts:64

An item in the attachment strip above the composer.

id: string

Defined in: widgets/controls/chat/types.ts:66

Stable id (used for removal).


optional kind?: string

Defined in: widgets/controls/chat/types.ts:70

App-defined kind, e.g. “image” | “file” | “paste”.


label: string

Defined in: widgets/controls/chat/types.ts:68

Short label shown on the chip.


optional payload?: unknown

Defined in: widgets/controls/chat/types.ts:72

Opaque app payload.