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

namespace LibMatrix.EventTypes.Spec.State;

[MatrixEvent(EventName = EventId)]
public class RoomNameEventContent : TimelineEventContent {
    public const string EventId = "m.room.name";

    [JsonPropertyName("name")]
    public string? Name { get; set; }
}