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

namespace LibMatrix.LegacyEvents.EventTypes.Spec.State.RoomInfo;

[LegacyMatrixEvent(EventName = EventId)]
public class RoomAliasLegacyEventContent : LegacyEventContent {
    public const string EventId = "m.room.alias";

    [JsonPropertyName("aliases")]
    public List<string>? Aliases { get; set; }
}