about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomAvatarEventData.cs
blob: 03ce16b0b7051a661fe0e6ef30667aef3a8e2f5f (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; 

[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 {
        
    }
}