about summary refs log tree commit diff
path: root/ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs
blob: 42edd23ca04edf9201dc6f839c2a499acf2dfd0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System.Text.Json.Serialization;
using LibMatrix.EventTypes;
using LibMatrix.Helpers;
using LibMatrix.Interfaces;

namespace PluralContactBotPoC.Bot.StateEventTypes;

[MatrixEvent(EventName = "gay.rory.plural_contact_bot.system_data")]
public class SystemData : EventContent {
    [JsonPropertyName("control_room")]
    public string ControlRoom { get; set; } = null!;
    [JsonPropertyName("system_members")]
    public List<string> Members { get; set; } = new();
    [JsonPropertyName("dm_space")]
    public string? DmSpace { get; set; }
}