2023-11-15 13:33:46 +00:00
|
|
|
using BotSharp.Abstraction.Conversations.Enums;
|
2023-09-08 18:16:23 +00:00
|
|
|
|
2023-06-12 13:28:49 +00:00
|
|
|
namespace BotSharp.Abstraction.Conversations.Models;
|
|
|
|
|
|
2023-06-27 18:31:13 +00:00
|
|
|
public class Conversation
|
2023-06-12 13:28:49 +00:00
|
|
|
{
|
|
|
|
|
public string Id { get; set; } = string.Empty;
|
|
|
|
|
public string AgentId { get; set; } = string.Empty;
|
|
|
|
|
public string UserId { get; set; } = string.Empty;
|
|
|
|
|
public string Title { get; set; } = string.Empty;
|
2023-11-15 13:33:46 +00:00
|
|
|
|
2023-09-08 18:16:23 +00:00
|
|
|
[JsonIgnore]
|
2023-09-06 04:41:49 +00:00
|
|
|
public string Dialog { get; set; } = string.Empty;
|
2023-11-15 13:33:46 +00:00
|
|
|
|
2023-09-08 18:16:23 +00:00
|
|
|
[JsonIgnore]
|
2023-11-20 16:54:01 +00:00
|
|
|
public ConversationState States { get; set; } = new ConversationState();
|
2023-06-27 18:31:13 +00:00
|
|
|
|
2023-11-15 13:33:46 +00:00
|
|
|
public string Status { get; set; } = ConversationStatus.Open;
|
|
|
|
|
|
2023-11-20 15:51:57 +00:00
|
|
|
public string Channel { get; set; } = ConversationChannel.OpenAPI;
|
|
|
|
|
|
2023-06-12 13:28:49 +00:00
|
|
|
public DateTime UpdatedTime { get; set; } = DateTime.UtcNow;
|
|
|
|
|
public DateTime CreatedTime { get; set; } = DateTime.UtcNow;
|
|
|
|
|
}
|