about summary refs log tree commit diff
path: root/ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs
blob: 5edfc0e1c99b6e832974f4970baf94e902b39ec9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System.Text.Json.Serialization;
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; }
}