chatbot/Chatbot.Application/Commands/CloseChat.cs

17 lines
358 B
C#

using Chatbot.Api.Application.Events;
using System;
namespace Chatbot.Api.Application.Commands
{
public class CloseChat : Command<ChatClosed>
{
public Guid ChatId { get; }
public CloseChat(Guid chatId)
: base(new Metadata() { CorrelationId = Guid.NewGuid() })
{
ChatId = chatId;
}
}
}