about summary refs log tree commit diff
path: root/ExampleBots/PluralContactBotPoC/Bot/AccountData/BotData.cs
blob: 2adcbb39271602535543540c84d5f8df409d8afa (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.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; } = "";
}