TextContent

Models & Types · AiDotNet.Agentic.Models

A plain-text content part within a ChatMessage.

Inheritance: AiContent → TextContent

For Beginners

This is the most common kind of content — ordinary words. Most messages you send or receive are a single TextContent.

Constructors

Constructor Summary
TextContent(string text) Initializes a new TextContent with the given text.

Properties

Property Summary
string Text { get; } Gets the text of this content part.

Methods

Method Summary
string ToString()