Class LiveClientMessage
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Represents the payload for a bidirectional client interaction. This class is used to encapsulate data such as the setup, client content, real-time input, and tool responses that are involved in bidirectional communication.
public class LiveClientMessage
- Inheritance
-
LiveClientMessage
- Inherited Members
- Extension Methods
Properties
ClientContent
Gets or sets an incremental update of the current conversation delivered from the client.
[JsonPropertyName("clientContent")]
public LiveClientContent? ClientContent { get; set; }
Property Value
ContextUpdate
Gets or sets an update to the context (system instruction and/or tools) of the current session.
[JsonPropertyName("contextUpdate")]
public LiveClientContextUpdate? ContextUpdate { get; set; }
Property Value
RealtimeInput
Gets or sets user input that is sent in real time.
[JsonPropertyName("realtimeInput")]
public LiveClientRealtimeInput? RealtimeInput { get; set; }
Property Value
Setup
Gets or sets the setup message for a bidirectional content generation session.
[JsonPropertyName("setup")]
public LiveClientSetup? Setup { get; set; }
Property Value
ToolResponse
Gets or sets a client generated response to a FunctionCall received from the server.
[JsonPropertyName("toolResponse")]
public LiveClientToolResponse? ToolResponse { get; set; }