about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomAvatarEventData.cs
blob: bab297b8d0bb4efd9518bafb12dbe3a190899b45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System.Text.Json.Serialization;
using MatrixRoomUtils.Core.Extensions;
using MatrixRoomUtils.Core.Interfaces;

namespace MatrixRoomUtils.Core.StateEventTypes.Spec; 

[MatrixEvent(EventName = "m.room.avatar")]
public class RoomAvatarEventData : IStateEventType {
    [JsonPropertyName("url")]
    public string? Url { get; set; }
    
    [JsonPropertyName("info")]
    public RoomAvatarInfo? Info { get; set; }

    public class RoomAvatarInfo {
        
    }
}