# ConversationUploadTransport (@salmonui/chat/conversation)

> The ConversationUploadTransport type of @salmonui/chat/conversation: Upload transport (the Inputs FileUpload contract shape).

Canonical: https://salmonui.dev/docs/reference/chat/conversation/ConversationUploadTransport

```ts
import type { ConversationUploadTransport } from '@salmonui/chat/conversation';
```

Entry index: https://salmonui.dev/docs/reference/chat/conversation (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/chat/conversation.md).

## Reference

Kind: type

```ts
type ConversationUploadTransport = (file: File, context: {
    readonly signal: AbortSignal;
    readonly onProgress: (loaded: number, total: number) => void;
}) => Promise<Partial<ConversationAttachment> | void>;
```

Upload transport (the Inputs `FileUpload` contract shape).
