Skip to content

Commit 573cbb4

Browse files
author
aden.chen
committed
modify key of WelcomeMessageAllowToBeInterrupted
1 parent fd66718 commit 573cbb4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class ConversationalVoiceRequest : VoiceRequest
4242
[FromForm]
4343
public int MachineDetectionDuration { get; set; }
4444

45-
[FromQuery(Name = "welcome_message_allow_to_be_interrupted")]
45+
[FromQuery(Name = "welcome_msg_allow_interrupt")]
4646
public bool? WelcomeMessageAllowToBeInterrupted { get; set; }
4747

4848
[FromForm]

src/Plugins/BotSharp.Plugin.Twilio/OutboundPhoneCallHandler/Functions/OutboundPhoneCallFn.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class OutboundPhoneCallFn : IFunctionCallback
2525

2626
public string Name => "util-twilio-outbound_phone_call";
2727
public string Indication => "Dialing the phone number";
28-
public const string WelcomeMessageAllowToBeInterrupted = "welcome_message_allow_to_be_interrupted";
28+
public const string WelcomeMessageAllowToBeInterrupted = "welcome_msg_allow_interrupt";
2929

3030
public OutboundPhoneCallFn(
3131
IServiceProvider services,

0 commit comments

Comments
 (0)