namespace VPLink.Common.Data; /// /// Represents a message that is relayed between Discord and Virtual Paradise. /// public readonly struct RelayedMessage { /// /// Initializes a new instance of the struct. /// /// The author. /// The content. /// A value indicating whether this message is a reply. public RelayedMessage(string? author, string content, bool isReply) { Author = author; Content = content; IsReply = isReply; } /// /// Gets the user that sent the message. /// /// The user that sent the message. public string? Author { get; } /// /// Gets the message content. /// /// The message content. public string Content { get; } /// /// Gets a value indicating whether this message is a reply. /// /// if this message is a reply; otherwise, . public bool IsReply { get; } }