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

namespace LibMatrix.EventTypes.Spec.State;

[MatrixEvent(EventName = EventId)]
[MatrixEvent(EventName = "org.matrix.msc3765.topic", Legacy = true)]
public class RoomTopicEventContent : EventContent {
    public const string EventId = "m.room.topic";

    [JsonPropertyName("topic")]
    public string? Topic { get; set; }
}