Class UserMessage
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
A message to write to chosen users, as handed to SendAsync(UserMessage, CancellationToken).
public sealed record UserMessage : IEquatable<UserMessage>
- Inheritance
-
UserMessage
- Implements
- Inherited Members
Properties
Attachments
Files sent with the message, stored once however many it reaches.
public UserMailAttachment[] Attachments { get; init; }
Property Value
Body
The body as plain text; required when there is no HTML body.
public string Body { get; init; }
Property Value
BodyHtml
The body as HTML; sanitized on the server, and the text body is derived from it when none is given.
public string BodyHtml { get; init; }
Property Value
Category
The key of a category staff may write in; any other is refused.
public required string Category { get; init; }
Property Value
Recipients
Who it goes to.
public required UserMessageRecipients Recipients { get; init; }
Property Value
Subject
The subject line.
public required string Subject { get; init; }