X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/0b2d37fe68e562ea695e1fcb42bd8d7a1e74d1e1..f40c351662e55e26dc3fa78bf39f2573a4681524:/man/signal-cli.1.adoc diff --git a/man/signal-cli.1.adoc b/man/signal-cli.1.adoc index e30a1965..a821d2a8 100644 --- a/man/signal-cli.1.adoc +++ b/man/signal-cli.1.adoc @@ -412,7 +412,13 @@ group lists. === uploadStickerPack -Upload a new sticker pack, consisting of a manifest file and the stickers in WebP format (maximum size for a sticker file is 100KiB). +Upload a new sticker pack, consisting of a manifest file and the sticker images. +Images must conform to the following specification: (see https://support.signal.org/hc/en-us/articles/360031836512-Stickers#sticker_reqs ) +- Static stickers in PNG or WebP format +- Animated stickers in APNG format, +- Maximum file size for a sticker file is 300KiB +- Image resolution of 512 x 512 px + The required manifest.json has the following format: [source,json] @@ -421,12 +427,14 @@ The required manifest.json has the following format: "title": "", "author": "", "cover": { // Optional cover, by default the first sticker is used as cover - "file": "", + "file": "", + "contentType": "", "emoji": "" }, "stickers": [ { - "file": "", + "file": "", + "contentType": "", "emoji": "" } ...