BotSharp/src/Infrastructure/BotSharp.Abstraction/Models/MessageState.cs

23 lines
446 B
C#
Raw Normal View History

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