using System.Linq;
namespace SharedLibraryCore.Dtos.Meta.Responses
{
public class MessageResponse : BaseMetaResponse
{
public long ServerId { get; set; }
public string Message { get; set; }
public bool IsHidden { get; set; }
///
/// name of the client
///
public string ClientName { get; set; }
///
/// hostname of the server
///
public string ServerName { get; set; }
///
/// specifies the game the chat occured on
///
public Server.Game GameName { get; set; }
///
/// indicates if the chat message is a quick message phrase
///
public bool IsQuickMessage { get; set; }
public string HiddenMessage => string.Concat(Enumerable.Repeat('●', Message.Length));
}
}