BotSharp/src/Infrastructure/BotSharp.Abstraction/Conversations/IConversationStateService.cs

14 lines
357 B
C#
Raw Normal View History

2023-08-09 21:49:55 +00:00
using BotSharp.Abstraction.Conversations.Models;
namespace BotSharp.Abstraction.Conversations;
/// <summary>
/// Conversation state service to track the context in the conversation lifecycle
/// </summary>
public interface IConversationStateService
{
ConversationState Load(string conversationId);
string GetState(string name);
void Save();
}