Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions src/Postmark/Model/PostmarkClickWebhookMessage
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
using PostmarkDotNet.Model;
using System;
using System.Collections.Generic;

namespace PostmarkDotNet.Webhooks
{
/// <summary>
/// Representation of the payload of the click tracking webhook
/// </summary>
public class PostmarkClickWebhookMessage : PostmarkClick
{
/// <summary>
/// The time the click was received by the Postmark servers.
/// </summary>
/// <value>The time the click was received</value>
public DateTime ReceivedAt { get; set; }

/// <summary>
/// The tags users add to emails
/// </summary>
/// <value>The specific tag string</value>
public string Tag { get; set; }

/// <summary>
/// The email address of the recipient who opened the email.
/// </summary>
/// <value>Email address of the recipient</value>
public string Recipient { get; set; }

/// <summary>
/// The metadata for the opened message.
/// </summary>
public Dictionary<string, string> Metadata { get; set; }
}
}