1
0
Files
LinkMobility/src/LinkMobility/Webhook/WhatsApp/Notification.cs
Andreas Müller 6b5581c247
All checks were successful
Branch Build / build-test-deploy (push) Successful in 1m23s
Added basic WhatsApp implementation
2026-03-24 20:06:55 +01:00

22 lines
540 B
C#

namespace AMWD.Net.Api.LinkMobility.Webhook.WhatsApp
{
/// <summary>
/// Represents a Meta WhatsApp Notification payload.
/// </summary>
public class Notification
{
/// <summary>
/// The object.
/// In this case, it is specified as <c>whatsapp_business_account</c>.
/// </summary>
[JsonProperty("object")]
public string? Object { get; set; }
/// <summary>
/// Entries of the notification object.
/// </summary>
[JsonProperty("entry")]
public IReadOnlyCollection<NotificationEntry>? Entries { get; set; }
}
}