BotSharp/src/Infrastructure/BotSharp.Abstraction/Instructs/InstructHookBase.cs

18 lines
442 B
C#
Raw Normal View History

2023-09-08 17:03:49 +00:00
using BotSharp.Abstraction.Instructs.Models;
namespace BotSharp.Abstraction.Instructs;
public class InstructHookBase : IInstructHook
{
2023-10-25 15:48:25 +00:00
public virtual string SelfId => throw new NotImplementedException("Please set SelfId as agent id!");
2023-09-08 17:03:49 +00:00
public virtual async Task AfterCompletion(InstructResult result)
{
return;
}
public virtual async Task BeforeCompletion(RoleDialogModel message)
{
return;
}
}