BotSharp/src/Plugins/BotSharp.Plugin.Twilio/Models/ConversationalVoiceRequest.cs

22 lines
462 B
C#
Raw Normal View History

2024-11-12 22:51:33 +00:00
using Microsoft.AspNetCore.Mvc;
namespace BotSharp.Plugin.Twilio.Models;
public class ConversationalVoiceRequest : VoiceRequest
{
2025-02-27 04:52:14 +00:00
[FromQuery(Name = "agent-id")]
public string AgentId { get; set; }
2024-11-12 22:51:33 +00:00
[FromRoute]
public string ConversationId { get; set; }
[FromRoute]
public int SeqNum { get; set; }
public int Attempts { get; set; } = 1;
public string Intent { get; set; }
public List<string> States { get; set; } = [];
}