Gemini.Live.Message.ServerMessage (GeminiEx v0.8.4)

View Source

Union type for all server-to-client messages.

Fields

  • setup_complete: Setup confirmation
  • server_content: Content response
  • tool_call: Function call request
  • tool_call_cancellation: Function call cancellation

Summary

Types

t()

@type t() :: %Gemini.Live.Message.ServerMessage{
  server_content: (Gemini.Live.Message.ServerContent.t() | map()) | nil,
  setup_complete: (Gemini.Live.Message.SetupComplete.t() | map()) | nil,
  tool_call: (Gemini.Live.Message.ToolCall.t() | map()) | nil,
  tool_call_cancellation:
    (Gemini.Live.Message.ToolCallCancellation.t() | map()) | nil
}