about summary refs log tree commit diff
path: root/LibMatrix/StateEventTypes/Spec/RoomNameEventData.cs
blob: 9d135130582e02f14081b34361587d383eacbb64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
using System.Text.Json.Serialization;
using LibMatrix.Extensions;
using LibMatrix.Interfaces;

namespace LibMatrix.StateEventTypes.Spec;

[MatrixEvent(EventName = "m.room.name")]
public class RoomNameEventData : IStateEventType {
    [JsonPropertyName("name")]
    public string? Name { get; set; }
}