2024-03-27 18:50:27 +00:00
|
|
|
namespace BotSharp.Abstraction.Models;
|
|
|
|
|
|
|
|
|
|
public class MessageState
|
|
|
|
|
{
|
|
|
|
|
public string Key { get; set; }
|
2025-04-15 22:58:33 +00:00
|
|
|
public object Value { get; set; }
|
2024-03-27 18:50:27 +00:00
|
|
|
|
|
|
|
|
[JsonPropertyName("active_rounds")]
|
|
|
|
|
public int ActiveRounds { get; set; } = -1;
|
|
|
|
|
|
|
|
|
|
public MessageState()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-15 22:58:33 +00:00
|
|
|
public MessageState(string key, object value, int activeRounds = -1)
|
2024-03-27 18:50:27 +00:00
|
|
|
{
|
|
|
|
|
Key = key;
|
|
|
|
|
Value = value;
|
|
|
|
|
ActiveRounds = activeRounds;
|
|
|
|
|
}
|
|
|
|
|
}
|