Share via


IChatMessage Interface

Definition

Represents a message that is part of an agent thread.

public interface IChatMessage
type IChatMessage = interface
Public Interface IChatMessage

Properties

AgentId

The id of the agent associated with the a message where role = "agent", otherwise null.

Annotations

Annotations associated with the message.

Content

The chat message content.

ContentType

Describes the content-type of the message

Id

The message identifier (which can be referenced in API endpoints).

Properties

Properties associated with the message.

Role

The role associated with the chat message.

Applies to