Initial commit to new repository
This commit is contained in:
26
.decompiledproj/AxCopilot/Models/ChatMessage.cs
Normal file
26
.decompiledproj/AxCopilot/Models/ChatMessage.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace AxCopilot.Models;
|
||||
|
||||
public class ChatMessage
|
||||
{
|
||||
[JsonPropertyName("role")]
|
||||
public string Role { get; set; } = "user";
|
||||
|
||||
[JsonPropertyName("content")]
|
||||
public string Content { get; set; } = "";
|
||||
|
||||
[JsonPropertyName("timestamp")]
|
||||
public DateTime Timestamp { get; set; } = DateTime.Now;
|
||||
|
||||
[JsonPropertyName("feedback")]
|
||||
public string? Feedback { get; set; }
|
||||
|
||||
[JsonPropertyName("attachedFiles")]
|
||||
public List<string>? AttachedFiles { get; set; }
|
||||
|
||||
[JsonPropertyName("images")]
|
||||
public List<ImageAttachment>? Images { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user