Interface: MessageOptions
@providerprotocol/ai / @providerprotocol/ai / MessageOptions
Interface: MessageOptions
Section titled “Interface: MessageOptions”Defined in: src/types/messages.ts:96
Options for constructing messages.
Properties
Section titled “Properties”
optionalid:string
Defined in: src/types/messages.ts:98
Custom message ID (auto-generated if not provided)
metadata?
Section titled “metadata?”
optionalmetadata:MessageMetadata
Defined in: src/types/messages.ts:104
Provider-specific metadata
timestamp?
Section titled “timestamp?”
optionaltimestamp:Date
Defined in: src/types/messages.ts:101
Message timestamp override (defaults to now)