feat: add chat messages

This commit is contained in:
k0t9i
2023-01-28 16:32:10 +04:00
parent 42d594bbbb
commit 340e91b325
10 changed files with 118 additions and 9 deletions

View File

@@ -0,0 +1,25 @@
using Client.Domain.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Client.Domain.ValueObjects
{
public class ChatMessage
{
public uint ObjectId { get; set; }
public ChatChannelEnum Channel { get; set; }
public string Name { get; set; }
public string Text { get; set; }
public ChatMessage(uint objectId, ChatChannelEnum channel, string name, string text)
{
ObjectId = objectId;
Channel = channel;
Name = name;
Text = text;
}
}
}