BotSharp/src/Infrastructure/BotSharp.Abstraction/Models/MessageState.cs
2025-04-15 17:58:33 -05:00

23 lines
446 B
C#

namespace BotSharp.Abstraction.Models;
public class MessageState
{
public string Key { get; set; }
public object Value { get; set; }
[JsonPropertyName("active_rounds")]
public int ActiveRounds { get; set; } = -1;
public MessageState()
{
}
public MessageState(string key, object value, int activeRounds = -1)
{
Key = key;
Value = value;
ActiveRounds = activeRounds;
}
}