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

namespace LibMatrix.EventTypes.Spec.State;

[MatrixEvent(EventName = "m.room.topic")]
[MatrixEvent(EventName = "org.matrix.msc3765.topic", Legacy = true)]
public class RoomTopicEventContent : EventContent {
    [JsonPropertyName("topic")]
    public string? Topic { get; set; }
}