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

namespace LibMatrix.EventTypes.Spec.State;

[MatrixEvent(EventName = "m.room.topic")]
[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; }
}