Share via


MessageContentBlockInput type

Defines a single content block when creating a message. The 'type' field determines whether it is text, an image file, or an external image URL, etc.

type MessageContentBlockInput =
  | MessageContentBlockInputParent
  | MessageTextBlockInput
  | MessageImageFileBlockInput
  | MessageImageUrlBlockInput