using LibMatrix;
namespace MxApiExtensions.Classes.LibMatrix;
///
/// Generic room info, this will most likely be out of date due to caching!
/// This is only useful for giving a rough idea of the room state.
///
public class RoomInfoEntry {
public string RoomId { get; set; }
public List RoomState { get; set; }
public int StateCount { get; set; }
public Dictionary MemberCounts { get; set; } = new();
// [JsonIgnore]
public DateTime ExpiresAt { get; set; } = DateTime.Now.AddMinutes(1);
}