AttachmentRef
Defined in: react/src/client.ts:46
A file the host already holds, sent with a message. Upload it first: the host gets this reference, never the bytes.
Properties
Section titled “Properties”id: string;Defined in: react/src/client.ts:48
The host’s own id for the file.
mediaType
Section titled “mediaType”mediaType: string;Defined in: react/src/client.ts:50
name: string;Defined in: react/src/client.ts:49
optional size?: number;Defined in: react/src/client.ts:52
Bytes.
optional url?: string;Defined in: react/src/client.ts:54
Shown as the file’s link or preview until the host’s copy of the message arrives.