Class UserMessageEntity
A message staff sent to users, as the sent log records it.
public record UserMessageEntity : EntityBase, ISupportInitialize, IEquatable<PersistableEntityBase>, IEntity<ObjectId>, IEquatable<EntityBase<ObjectId>>, IEquatable<EntityBase>, IEquatable<UserMessageEntity>
- Inheritance
-
PersistableEntityBaseEntityBase<ObjectId>EntityBaseUserMessageEntity
- Implements
-
IEquatable<PersistableEntityBase>IEntity<ObjectId>IEquatable<EntityBase>
- Inherited Members
-
EntityBase.ToString()EntityBase.GetHashCode()EntityBase.Equals(EntityBase<ObjectId>)EntityBase.Equals(EntityBase)EntityBase.<Clone>$()EntityBase.EqualityContractEntityBase<ObjectId>.Equals(PersistableEntityBase)EntityBase<ObjectId>.IdPersistableEntityBase.NeedsCleaning()PersistableEntityBase.BeginInit()PersistableEntityBase.EndInit()PersistableEntityBase.CatchAll
Properties
AttachmentCount
How many files it carried.
public int AttachmentCount { get; init; }
Property Value
Category
The category's key.
public required string Category { get; init; }
Property Value
MessageId
The message's id, which is the id of the batch its mails were queued in; unique.
public required string MessageId { get; init; }
Property Value
RecipientCount
How many users it reached when it was sent.
public int RecipientCount { get; init; }
Property Value
Recipients
The selection as it was chosen.
public required UserMessageRecipientsEntity Recipients { get; init; }
Property Value
SentAt
When it was sent, in UTC; the retention period runs from here.
public DateTime SentAt { get; init; }
Property Value
SentByName
The name of whoever sent it.
[BsonIgnoreIfNull]
public string SentByName { get; init; }
Property Value
SentByUserKey
The key of the user who sent it, or null.
[BsonIgnoreIfNull]
public string SentByUserKey { get; init; }
Property Value
Subject
The subject line.
public required string Subject { get; init; }