Class Conversation
public sealed class Conversation
- Inheritance
-
Conversation
- Inherited Members
Constructors
Conversation(List<Message>)
[JsonConstructor]
public Conversation(List<Message> messages)
Parameters
Properties
Messages
[JsonPropertyName("messages")]
public IReadOnlyList<Message> Messages { get; }
Property Value
Methods
AppendMessage(Message)
public void AppendMessage(Message message)
Parameters
message
MessageThe message to add to the Conversation.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator string(Conversation)
public static implicit operator string(Conversation conversation)
Parameters
conversation
Conversation