blob: b9a837f61b687edf9a7db4baf5433b818e83f797 (
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
  | 
using System.Text.Json.Serialization;
namespace LibMatrix.EventTypes.Common;
[MatrixEvent(EventName = EventId)]
public class RoomEmotesEventContent : TimelineEventContent {
    public const string EventId = "im.ponies.room_emotes";
    [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; // TODO: Implement this
}
 
  |