about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/StateEventTypes/Common/RoomEmotesEventData.cs
blob: 4a75b98f63e5e7f28bcfcbc8241556f9738555ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System.Text.Json.Serialization;
using MatrixRoomUtils.Core.Extensions;
using MatrixRoomUtils.Core.Interfaces;

namespace MatrixRoomUtils.Core.StateEventTypes; 

[MatrixEvent(EventName = "im.ponies.room_emotes")]
public class RoomEmotesEventData : IStateEventType {
    [JsonPropertyName("emoticons")]
    public Dictionary<string, EmoticonData>? Emoticons { get; set; }
    
    [JsonPropertyName("images")]
    public Dictionary<string, EmoticonData>? Images { get; set; }
    
    [JsonPropertyName("pack")]
    public PackInfo? Pack { get; set; }
    
    public class EmoticonData {
        [JsonPropertyName("url")]
        public string? Url { get; set; }
    }
}

public class PackInfo {
    
}