mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 13:12:19 +00:00
Basic gif search test
This commit is contained in:
1 parent
75506ff246
commit
c641b45e58
2 files changed
+82
No files matched your search
@@ -0,0 +1,29 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Spacebar.Models.Api;
|
||||
|
||||
public class GifItem {
|
||||
[JsonPropertyName("id")]
|
||||
public string Id { get; set; }
|
||||
|
||||
[JsonPropertyName("title"), Obsolete("Deprecated")]
|
||||
public string? Title { get; set; }
|
||||
|
||||
[JsonPropertyName("url")]
|
||||
public string Url { get; set; }
|
||||
|
||||
[JsonPropertyName("src")]
|
||||
public string Source { get; set; }
|
||||
|
||||
[JsonPropertyName("gif_src")]
|
||||
public string GifSource { get; set; }
|
||||
|
||||
[JsonPropertyName("preview")]
|
||||
public string Preview { get; set; }
|
||||
|
||||
[JsonPropertyName("width")]
|
||||
public int Width { get; set; }
|
||||
|
||||
[JsonPropertyName("height")]
|
||||
public int Height { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user