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

namespace PluralContactBotPoC.Bot.AccountData;
[MatrixEvent(EventName = "gay.rory.plural_contact_bot.bot_config")]
public class BotData : EventContent {
    [JsonPropertyName("control_room")]
    public string ControlRoom { get; set; } = "";

    [JsonPropertyName("log_room")]
    public string? LogRoom { get; set; } = "";

    [JsonPropertyName("policy_room")]
    public string? PolicyRoom { get; set; } = "";
}