Skip to content
providerkit
GitHub

SendInput

Defined in: react/src/client.ts:64

One message as the transport hands it to the host.

optional attachments?: readonly AttachmentRef[];

Defined in: react/src/client.ts:71


clientId: string;

Defined in: react/src/client.ts:68

Made by the client once per message, and sent unchanged by retry. A host that keeps it can tell a second delivery of one message from a new one, and echoes it on its own copy so the client swaps its copy for the host’s.


text: string;

Defined in: react/src/client.ts:70

Empty for a message that is only files.