about summary refs log tree commit diff
path: root/LibMatrix/EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs
blob: 56238650f0a9108cfa0814f2044dcf411fffa45c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
using System.Text.Json.Serialization;
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; }
}