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

namespace LibMatrix.EventTypes.Spec.State;

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