Class SmsQueueAdminData
One outbound text message, as an operator needs to see it.
public sealed class SmsQueueAdminData
- Inheritance
-
SmsQueueAdminData
- Inherited Members
Remarks
The SMS twin of EmailQueueAdminData. sms_queue has the same three
delivery columns as email_queue, so its state is the same combination and is
classified by the same EmailQueueState rather than a copy of it that could
drift: a filter, a count and a badge must mean one thing across both queues.
The body is deliberately absent, for the reason the email body is: a verification text is a one-time code, and whoever reads it can prove a phone number they do not hold. The projection never names the column.
RecipientPhone is the full number and is personal data. It stops at the panel's controller, which sends the browser a masked form only; nothing on the page needs the whole number to answer "did this player's code go out".
Properties
Attempts
Delivery attempts recorded so far.
public int Attempts { get; set; }
Property Value
ClaimedAt
When it was claimed (UTC), or null.
public DateTime? ClaimedAt { get; set; }
Property Value
ClaimedBy
The drain holding it, or null.
public string ClaimedBy { get; set; }
Property Value
CreatedAt
When it was enqueued (UTC).
public DateTime CreatedAt { get; set; }
Property Value
ID
Primary key.
public long ID { get; set; }
Property Value
Kind
What the message is for, as stored on the row.
public SmsKind Kind { get; set; }
Property Value
LastError
The error from the most recent failed attempt, or null.
public string LastError { get; set; }
Property Value
RecipientPhone
The recipient number in E.164 form. Mask before it leaves the server.
public string RecipientPhone { get; set; }
Property Value
RecipientUsername
The account it belongs to.
public string RecipientUsername { get; set; }
Property Value
SentAt
When it went out (UTC), or null.
public DateTime? SentAt { get; set; }
Property Value
State
The state the delivery columns add up to. See EmailQueueState.
public EmailQueueState State { get; set; }