13 lines
514 B
C#
13 lines
514 B
C#
|
|
namespace BotSharp.Abstraction.Realtime.Models;
|
||
|
|
|
||
|
|
public class RealtimeHubConnection
|
||
|
|
{
|
||
|
|
public string Event { get; set; } = null!;
|
||
|
|
public string StreamId { get; set; } = null!;
|
||
|
|
public string ConversationId { get; set; } = null!;
|
||
|
|
public string Data { get; set; } = string.Empty;
|
||
|
|
public Func<string, object> OnModelMessageReceived { get; set; } = null!;
|
||
|
|
public Func<object> OnModelAudioResponseDone { get; set; } = null!;
|
||
|
|
public Func<object> OnModelUserInterrupted { get; set; } = null!;
|
||
|
|
}
|