Interface: ExportChatOptions
Options accepted by exportChat.
Properties
Section titled “Properties”brand?
Section titled “brand?”
optionalbrand?:ExportBrand
Optional brand styling for the exported document.
filename?
Section titled “filename?”
optionalfilename?:string
Download filename stem (no extension). Defaults to a slug of the title.
format
Section titled “format”format:
ExportFormat
Target format.
messages
Section titled “messages”messages:
UIMessage<unknown,UIDataTypes,UITools>[]
Messages to export, oldest first (one entry for a message-level export).
resolver
Section titled “resolver”resolver:
EmbedResolver
Embed resolver used to inline charts and data tables.
title?
Section titled “title?”
optionaltitle?:string
Document title / heading. Defaults to "Conversation".
userLabel?
Section titled “userLabel?”
optionaluserLabel?: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)".