Table of Contents

Class ChatMessage

Namespace
MailFathom.Application.Chat
Assembly
MailFathom.Application.dll

One turn of a conversation: who it came from and what it said.

public sealed record ChatMessage : IEquatable<ChatMessage>
Inheritance
ChatMessage
Implements
Inherited Members

Remarks

Text alone. A turn carrying an image, an audio clip, or a tool result is a capability rather than a shape this type is missing, and every one of them would arrive with its own bounds, its own privacy question, and its own provider support matrix. The port that carries them is the port that has a caller needing them.

The text of a turn is untrusted and frequently personal: a question a person typed, and — once retrieval exists above this boundary — passages of their mail. It is never logged, never traced, and never carried into a failure.

Constructors

ChatMessage(ChatRole, string)

One turn of a conversation: who it came from and what it said.

Properties

Role

Who the turn came from.

Text

What the turn said.