diff --git a/src/Postmark/Model/PostmarkClickWebhookMessage b/src/Postmark/Model/PostmarkClickWebhookMessage new file mode 100644 index 0000000..e48bd4a --- /dev/null +++ b/src/Postmark/Model/PostmarkClickWebhookMessage @@ -0,0 +1,35 @@ +using PostmarkDotNet.Model; +using System; +using System.Collections.Generic; + +namespace PostmarkDotNet.Webhooks +{ + /// + /// Representation of the payload of the click tracking webhook + /// + public class PostmarkClickWebhookMessage : PostmarkClick + { + /// + /// The time the click was received by the Postmark servers. + /// + /// The time the click was received + public DateTime ReceivedAt { get; set; } + + /// + /// The tags users add to emails + /// + /// The specific tag string + public string Tag { get; set; } + + /// + /// The email address of the recipient who opened the email. + /// + /// Email address of the recipient + public string Recipient { get; set; } + + /// + /// The metadata for the opened message. + /// + public Dictionary Metadata { get; set; } + } +}