Table of Contents

Class SentUserMessage

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

A message as the sent log keeps it: what it was, who sent it to which selection, and what became of each mail.

public sealed record SentUserMessage : IEquatable<SentUserMessage>
Inheritance
SentUserMessage
Implements
Inherited Members

Properties

AttachmentCount

How many files it carried.

public int AttachmentCount { get; init; }

Property Value

int

Category

The category's key.

public required string Category { get; init; }

Property Value

string

ChosenUsers

The users the selection named by key, with their names as their records have them now; filled only when one message is read.

public UserMessageCandidate[] ChosenUsers { get; init; }

Property Value

UserMessageCandidate[]

Failures

The mails given up, each with why; filled only when one message is read.

public UserMessageFailure[] Failures { get; init; }

Property Value

UserMessageFailure[]

Id

The message's id.

public required string Id { get; init; }

Property Value

string

Outcomes

How many of its mails stand where.

public required UserMailOutcomes Outcomes { get; init; }

Property Value

UserMailOutcomes

RecipientCount

How many users the selection reached when it was sent, one mail queued for each.

public required int RecipientCount { get; init; }

Property Value

int

Recipients

The selection as it was chosen.

public required UserMessageRecipients Recipients { get; init; }

Property Value

UserMessageRecipients

SentAt

When it was sent, in UTC.

public required DateTime SentAt { get; init; }

Property Value

DateTime

SentByName

The name of whoever sent it, as it was when they sent it.

public string SentByName { get; init; }

Property Value

string

SentByUserKey

The key of the user who sent it, or null when the sender had no user record.

public string SentByUserKey { get; init; }

Property Value

string

Subject

The subject line.

public required string Subject { get; init; }

Property Value

string