]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/JsonStickerPack.java
Add support for uploading stickers.
[signal-cli] / src / main / java / org / asamk / signal / JsonStickerPack.java
diff --git a/src/main/java/org/asamk/signal/JsonStickerPack.java b/src/main/java/org/asamk/signal/JsonStickerPack.java
new file mode 100644 (file)
index 0000000..4594c5d
--- /dev/null
@@ -0,0 +1,29 @@
+package org.asamk.signal;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import java.util.List;
+
+public class JsonStickerPack {
+
+    @JsonProperty
+    public String title;
+
+    @JsonProperty
+    public String author;
+
+    @JsonProperty
+    public JsonSticker cover;
+
+    @JsonProperty
+    public List<JsonSticker> stickers;
+
+    public static class JsonSticker {
+
+        @JsonProperty
+        public String emoji;
+
+        @JsonProperty
+        public String file;
+    }
+}