BotSharp/src/Plugins/BotSharp.Plugin.Twilio/Settings/TwilioSetting.cs
2025-04-02 10:35:03 -05:00

32 lines
927 B
C#

namespace BotSharp.Plugin.Twilio.Settings;
public class TwilioSetting
{
/// <summary>
/// Outbound phone number
/// </summary>
public string? PhoneNumber { get; set; }
public string AccountSID { get; set; }
public string AuthToken { get; set; }
public string AppSID { get; set; }
public string ApiKeySID { get; set; }
public string ApiSecret { get; set; }
public string CallbackHost { get; set; }
public string? MessagingShortCode { get; set; }
/// <summary>
/// Human agent phone number if AI can't handle the call
/// </summary>
public string? CsrAgentNumber { get; set; }
public int MaxGatherAttempts { get; set; } = 4;
public string? MachineDetection { get; set; }
public int MachineDetectionSilenceTimeout { get; set; } = 2500;
public bool RecordingEnabled { get; set; } = false;
public bool TranscribeEnabled { get; set; } = false;
}