about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/CreateEvent.cs
blob: a7022c53e465d9d0dd7aaa7d2a8b6ca7bc593e99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.Text.Json.Serialization;

namespace MatrixRoomUtils.Core;

public class CreateEvent {
    [JsonPropertyName("creator")]
    public string Creator { get; set; }

    [JsonPropertyName("room_version")]
    public string RoomVersion { get; set; }

    [JsonPropertyName("type")]
    public string? Type { get; set; }

    [JsonPropertyName("predecessor")]
    public object? Predecessor { get; set; }

    [JsonPropertyName("m.federate")]
    public bool Federate { get; set; }
}