about summary refs log tree commit diff
path: root/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomTombstoneEventContent.cs
blob: 2c45c417342362277a7204feef16dbb7169dd246 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System.Text.Json.Serialization;

namespace LibMatrix.EventTypes.Spec.State.RoomInfo;

[MatrixEvent(EventName = EventId)]
public class RoomTombstoneEventContent : EventContent {
    public const string EventId = "m.room.tombstone";

    [JsonPropertyName("body")]
    public string Body { get; set; }

    [JsonPropertyName("replacement_room")]
    public string ReplacementRoom { get; set; }
}