ChatSessionLastRequestContent Property
Gets the content of the last request made in the current chat session,
allowing access to the most recently sent message or query.
This property is updated each time a request is successfully made within the session.
Namespace: GenerativeAIAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public Content? LastRequestContent { get; }
Property Value
Content
The value of this property is `null` if no request has been made or if the session
was reset by assigning a new history to the
History property.