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

namespace LibMatrix.StateEventTypes.Spec;

[MatrixEvent(EventName = "m.room.alias")]
public class RoomAliasEventData : IStateEventType {
    [JsonPropertyName("aliases")]
    public List<string>? Aliases { get; set; }
}