15 lines
411 B
C#
15 lines
411 B
C#
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);
|
|
ConversationState GetStates();
|
|
void SetState(string name, string value);
|
|
void CleanState();
|
|
void Save();
|
|
}
|