Gemini.Types.Interactions.TextContent (GeminiEx v0.9.0)

Copy Markdown View Source

A text content block (type: "text").

Summary

Types

t()

@type t() :: %Gemini.Types.Interactions.TextContent{
  annotations: [Gemini.Types.Interactions.Annotation.t()] | nil,
  text: String.t() | nil,
  type: String.t()
}

Functions

from_api(content)

@spec from_api(map() | nil) :: t() | nil

to_api(map)

@spec to_api(t() | map() | nil) :: map() | nil