2020-06-07 02:38:52 +03:00
|
|
|
|
using Chatbot.Api.Application.Events;
|
2020-12-20 23:07:49 +02:00
|
|
|
|
using NDB.Application.DataContracts;
|
2020-06-07 02:38:52 +03:00
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|