Implemented skeleton of chatbot init
This commit is contained in:
@@ -1,18 +1,30 @@
|
||||
using Core.Annotations;
|
||||
using Core.Annotations;
|
||||
using Core.Helpers.Dialog.Commando;
|
||||
using Core.Models.Eft.Dialog;
|
||||
using Core.Models.Eft.Profile;
|
||||
using Core.Models.Utils;
|
||||
using Core.Services;
|
||||
|
||||
namespace Core.Helpers.Dialogue;
|
||||
|
||||
[Injectable]
|
||||
public class AbstractDialogChatBot : IDialogueChatBot
|
||||
public abstract class AbstractDialogChatBot : IDialogueChatBot
|
||||
{
|
||||
public UserDialogInfo GetChatBot()
|
||||
protected ISptLogger<AbstractDialogChatBot> _logger;
|
||||
protected MailSendService _mailSendService;
|
||||
private readonly List<IChatCommand> _chatCommands;
|
||||
|
||||
public AbstractDialogChatBot(
|
||||
ISptLogger<AbstractDialogChatBot> logger,
|
||||
MailSendService mailSendService,
|
||||
IEnumerable<IChatCommand> chatCommands)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
_logger = logger;
|
||||
_mailSendService = mailSendService;
|
||||
_chatCommands = chatCommands.ToList();
|
||||
}
|
||||
|
||||
public abstract UserDialogInfo GetChatBot();
|
||||
|
||||
public string HandleMessage(string sessionId, SendMessageRequest request)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
||||
Reference in New Issue
Block a user