25 lines
682 B
C#
25 lines
682 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace BotSharp.Plugin.Twilio.Models;
|
|
|
|
public class ConversationalVoiceRequest : VoiceRequest
|
|
{
|
|
[FromQuery(Name = "agent-id")]
|
|
public string AgentId { get; set; } = string.Empty;
|
|
|
|
[FromRoute]
|
|
public string ConversationId { get; set; } = string.Empty;
|
|
|
|
[FromRoute]
|
|
public int SeqNum { get; set; }
|
|
|
|
public int Attempts { get; set; } = 1;
|
|
public int AIResponseWaitTime { get; set; } = 0;
|
|
public string? AIResponseErrorMessage { get; set; } = string.Empty;
|
|
|
|
public string Intent { get; set; } = string.Empty;
|
|
public string? InitAudioFile { get; set; }
|
|
|
|
public List<string> States { get; set; } = [];
|
|
}
|