blob: cc5b35b22440cf5e5cad08f1bc2297c16f730c08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
using System.Text.Json.Serialization;
using MatrixRoomUtils.Core.Extensions;
using MatrixRoomUtils.Core.Interfaces;
namespace MatrixRoomUtils.Core.StateEventTypes;
[MatrixEvent(EventName = "m.room.topic")]
[MatrixEvent(EventName = "org.matrix.msc3765.topic", Legacy = true)]
public class RoomTopicEventData : IStateEventType {
[JsonPropertyName("topic")]
public string? Topic { get; set; }
}
|