Skip to content

Interface: ExportChatOptions

Options accepted by exportChat.

optional brand?: ExportBrand

Optional brand styling for the exported document.


optional filename?: string

Download filename stem (no extension). Defaults to a slug of the title.


format: ExportFormat

Target format.


messages: UIMessage<unknown, UIDataTypes, UITools>[]

Messages to export, oldest first (one entry for a message-level export).


resolver: EmbedResolver

Embed resolver used to inline charts and data tables.


optional title?: string

Document title / heading. Defaults to "Conversation".


optional userLabel?: string

Label for the human speaker (the user role). Defaults to "User"; callers that know the signed-in identity pass a resource id / email form like "User (someone@example.com)".