ChatHistoryMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a single message in the chat history.
public class ChatHistoryMessage
type ChatHistoryMessage = class
Public Class ChatHistoryMessage
- Inheritance
-
ChatHistoryMessage
Constructors
| Name | Description |
|---|---|
| ChatHistoryMessage(String, String, String, DateTimeOffset) |
Initializes a new instance of the ChatHistoryMessage class. |
Properties
| Name | Description |
|---|---|
| Content |
Gets or sets the content of the chat message. |
| Id |
Gets or sets the unique identifier for the chat message. |
| Role |
Gets or sets the role of the message sender (e.g., "user", "system"). |
| Timestamp |
Gets or sets the timestamp of when the message was sent. |