2025-04-23 23:07:54 +00:00
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace BotSharp.Plugin.ChatHub.Models.Stream;
|
|
|
|
|
|
|
|
|
|
internal class ChatStreamEventResponse
|
|
|
|
|
{
|
|
|
|
|
[JsonPropertyName("event")]
|
|
|
|
|
public string Event { get; set; }
|
|
|
|
|
|
2025-04-25 19:13:14 +00:00
|
|
|
[JsonPropertyName("body")]
|
2025-07-09 20:23:55 +00:00
|
|
|
public ChatStreamEventResponseBody Body { get; set; }
|
2025-04-25 19:13:14 +00:00
|
|
|
}
|
|
|
|
|
|
2025-07-09 20:23:55 +00:00
|
|
|
internal class ChatStreamEventResponseBody
|
2025-04-23 23:07:54 +00:00
|
|
|
{
|
|
|
|
|
[JsonPropertyName("payload")]
|
|
|
|
|
public string Payload { get; set; }
|
2025-04-25 19:13:14 +00:00
|
|
|
}
|