Telnyx activity fixes and updates
This commit is contained in:
parent
43fd0a8df6
commit
c8dd70693e
|
|
@ -46,6 +46,12 @@ public class FlowAnswerCall : AnswerCallBase
|
|||
[PublicAPI]
|
||||
public class AnswerCall : AnswerCallBase
|
||||
{
|
||||
/// <inheritdoc />
|
||||
[JsonConstructor]
|
||||
public AnswerCall()
|
||||
{
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public AnswerCall([CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(source, line)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ public class Dial : CodeActivity<DialResponse>
|
|||
public Input<string?> AnsweringMachineDetection { get; set; } = new("disabled");
|
||||
|
||||
/// <summary>
|
||||
/// Enables answering machine detection.
|
||||
/// Start recording automatically after an event. Disabled by default.
|
||||
/// </summary>
|
||||
[Input(Description = "Start recording automatically after an event. Disabled by default.")]
|
||||
public Input<bool> Record { get; set; } = default!;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ public class FlowStartRecording : StartRecordingBase
|
|||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
[JsonConstructor]
|
||||
public FlowStartRecording([CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(source, line)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,17 @@
|
|||
namespace Elsa.Telnyx;
|
||||
|
||||
internal static class Constants
|
||||
/// <summary>
|
||||
/// Contains constants used by the Telnyx activities.
|
||||
/// </summary>
|
||||
public static class Constants
|
||||
{
|
||||
/// <summary>
|
||||
/// The namespace used by the Telnyx activities.
|
||||
/// </summary>
|
||||
public const string Namespace = "Telnyx";
|
||||
|
||||
/// <summary>
|
||||
/// The category used by the Telnyx activities.
|
||||
/// </summary>
|
||||
public const string Category = "Telnyx";
|
||||
}
|
||||
Loading…
Reference in a new issue