using Diligent.WebAPI.Data.Entities;
using MediatR;

namespace Diligent.WebAPI.Host.Mediator.Messages.Commands
{
    public class AddMessageCommand:IRequest<Unit>
    {
        public string roomId { get;}
        public Message message { get;}
        public AddMessageCommand(string roomId,Message message)
        {
            this.roomId = roomId;
            this.message = message;
        }
    }
}
