mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-22 12:00:18 +00:00
Migrate trending gifs to providers
This commit is contained in:
@@ -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