Table of Contents

Class SubscriberComplainedEvent

Namespace
Compendium.Core.Domain.Events.Integration
Assembly
Compendium.Core.dll

Integration event raised when a subscriber marks an email as spam.

public sealed record SubscriberComplainedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<SubscriberComplainedEvent>
Inheritance
SubscriberComplainedEvent
Implements
Inherited Members

Constructors

SubscriberComplainedEvent(string, string, DateTimeOffset, string?)

Integration event raised when a subscriber marks an email as spam.

public SubscriberComplainedEvent(string SubscriberId, string Email, DateTimeOffset ComplainedAt, string? CampaignId)

Parameters

SubscriberId string

The unique identifier of the subscriber.

Email string

The subscriber's email address.

ComplainedAt DateTimeOffset

The timestamp when the complaint was received.

CampaignId string

The campaign that triggered the complaint.

Properties

CampaignId

The campaign that triggered the complaint.

public string? CampaignId { get; init; }

Property Value

string

ComplainedAt

The timestamp when the complaint was received.

public DateTimeOffset ComplainedAt { get; init; }

Property Value

DateTimeOffset

Email

The subscriber's email address.

public string Email { get; init; }

Property Value

string

EventType

Gets the name of the event type for serialization and routing purposes.

public override string EventType { get; }

Property Value

string

SubscriberId

The unique identifier of the subscriber.

public string SubscriberId { get; init; }

Property Value

string