SamplingMessage.content

The first (or only) content block, for the common single-block message. Returns an empty text block when there are no blocks. For tool-loop messages (which carry several blocks) iterate contentBlocks.

  1. Content content()
    struct SamplingMessage
    const @safe
    content
    ()
  2. void content(Content c)