Class Message
[Obsolete("This message class is deprecated, please use a specific AutoGen built-in message type instead. For more information, please visit https://microsoft.github.io/autogen-for-net/articles/Built-in-messages.html")]
public class Message : IMessage
- Inheritance
-
Message
- Implements
- Inherited Members
- Extension Methods
Constructors
Message(Message)
public Message(Message other)
Parameters
other
Message
Message(Role, string?, string?, ToolCall?)
public Message(Role role, string? content, string? from = null, ToolCall? toolCall = null)
Parameters
Properties
Content
public string? Content { get; set; }
Property Value
From
public string? From { get; set; }
Property Value
FunctionArguments
public string? FunctionArguments { get; set; }
Property Value
FunctionName
public string? FunctionName { get; set; }
Property Value
Metadata
public IList<KeyValuePair<string, object>> Metadata { get; set; }
Property Value
Role
public Role Role { get; set; }
Property Value
Value
raw message
public object? Value { get; set; }
Property Value
Methods
ToString()
public override string ToString()