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

namespace LibMatrix.EventTypes.Spec.State.RoomInfo;

[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; }
}