public ModmailMessage(ModmailTarget target, string text, Modmail source) { Target = target; Text = text; SourceId = source.Id; Timestamp = DateTimeOffset.UtcNow; }
public void Close(ModmailTarget closedBy) { ClosedBy = closedBy; }
public void Reply(ModmailTarget target, string message) { Messages.Add(new ModmailMessage(target, message, this)); }