mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 19:43:16 +00:00
Migrate trending gifs to providers
This commit is contained in:
1 parent
28e8ec3b6c
commit
091b0e3536
8 files changed
+93
-30
No files matched your search
@@ -26,4 +26,20 @@ public class GifItem {
|
||||
|
||||
[JsonPropertyName("height")]
|
||||
public int Height { get; set; }
|
||||
}
|
||||
|
||||
public class TrendingGifsResult {
|
||||
[JsonPropertyName("categories")]
|
||||
public List<CategoryEntry> Categories { get; set; }
|
||||
|
||||
[JsonPropertyName("gifs")]
|
||||
public List<GifItem> Gifs { get; set; }
|
||||
|
||||
public class CategoryEntry {
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonPropertyName("src")]
|
||||
public string Source { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user