Add support for uploading stickers.

Closes #256
This commit is contained in:
Signal Stickers 2019-12-29 16:23:51 -05:00 committed by AsamK
parent 3f315df6c8
commit 23845eab47
6 changed files with 228 additions and 0 deletions

View file

@ -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;
}
}