Attachment
Defined in: widgets/controls/chat/types.ts:64
An item in the attachment strip above the composer.
Properties
Section titled “Properties”id:
string
Defined in: widgets/controls/chat/types.ts:66
Stable id (used for removal).
optionalkind?: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.
payload?
Section titled “payload?”
optionalpayload?:unknown
Defined in: widgets/controls/chat/types.ts:72
Opaque app payload.