blob: bfe480ecd480acc2ca8e7c232cf27d3780a754e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using System.Text.Json.Serialization;
namespace LibMatrix.EventTypes.Common;
[MatrixEvent(EventName = "im.ponies.room_emotes")]
public class RoomEmotesEventContent : TimelineEventContent {
[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
}
|