Skip to main content

Type Alias: MessageImageSource

MessageImageSource = { data: string; media_type: string; type: "base64"; } | { media_type?: string; type: "url"; url: string; }

Defined in: packages/core/src/types/messages.ts:47

An image block's source: inline base64 data, or a URL the provider fetches.