elsa-core/src/modules/Elsa.Telnyx/Events/TelnyxWebhookReceived.cs
2023-08-02 22:54:51 +02:00

24 lines
556 B
C#

using Elsa.Mediator.Contracts;
using Elsa.Telnyx.Models;
namespace Elsa.Telnyx.Events;
/// <summary>
/// Triggered when a Telnyx webhook is received.
/// </summary>
public class TelnyxWebhookReceived : INotification
{
/// <summary>
/// Initializes a new instance of the <see cref="TelnyxWebhookReceived"/> class.
/// </summary>
public TelnyxWebhookReceived(TelnyxWebhook webhook)
{
Webhook = webhook;
}
/// <summary>
/// Gets the webhook.
/// </summary>
public TelnyxWebhook Webhook { get; }
}