From 8a44b3777455a3b123a0f813ebd0df652821b908 Mon Sep 17 00:00:00 2001 From: AsamK Date: Mon, 23 Mar 2020 14:48:52 +0100 Subject: [PATCH] Add documentation for sticker upload --- man/signal-cli.1.adoc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/man/signal-cli.1.adoc b/man/signal-cli.1.adoc index 4101986f..98a54756 100644 --- a/man/signal-cli.1.adoc +++ b/man/signal-cli.1.adoc @@ -287,6 +287,34 @@ sendContacts Send a synchronization message with the local contacts list to all linked devices. This command should only be used if this is the master device. +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). +The required manifest.json has the following format: + +```json +{ + "title": "", + "author": "", + "cover": { // Optional cover, by default the first sticker is used as cover + "file": "", + "emoji": "" + }, + "stickers": [ + { + "file": "", + "emoji": "" + } + ... + ] +} +``` + +PATH:: + The path of the manifest.json or a zip file containing the sticker pack you + wish to upload. + daemon ~~~~~~ signal-cli can run in daemon mode and provides an experimental dbus interface. For