public record StickerPack(
StickerPackId packId,
- byte[] packKey,
+ StickerPackUrl url,
boolean installed,
String title,
String author,
) {
public StickerPack(final StickerPackId packId, final byte[] packKey, final boolean installed) {
- this(packId, packKey, installed, "", "", Optional.empty(), List.of());
+ this(packId, new StickerPackUrl(packId, packKey), installed, "", "", Optional.empty(), List.of());
}
public record Sticker(int id, String emoji, String contentType) {}