BotSharp/src/Plugins/BotSharp.Plugin.ChatHub/Models/Stream/ChatStreamEventResponse.cs

21 lines
477 B
C#
Raw Normal View History

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; }
}
internal class ChatStreamMediaEventResponse : ChatStreamEventResponse
2025-04-25 19:13:14 +00:00
{
[JsonPropertyName("body")]
public MediaEventResponseBody Body { get; set; }
}
internal class MediaEventResponseBody
2025-04-23 23:07:54 +00:00
{
[JsonPropertyName("payload")]
public string Payload { get; set; }
2025-04-25 19:13:14 +00:00
}