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

namespace LibMatrix.StateEventTypes.Spec;

[MatrixEvent(EventName = "m.room.canonical_alias")]
public class CanonicalAliasEventContent : EventContent {
    [JsonPropertyName("alias")]
    public string? Alias { get; set; }
    [JsonPropertyName("alt_aliases")]
    public string[]? AltAliases { get; set; }
}