X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/bf76c046645f688840d2da939d49c5a5a02fae55..2e4d346bc826da5c35a17841772cf81ba4f98101:/man/signal-cli.1.adoc diff --git a/man/signal-cli.1.adoc b/man/signal-cli.1.adoc index 4d34582a..be940418 100644 --- a/man/signal-cli.1.adoc +++ b/man/signal-cli.1.adoc @@ -635,6 +635,20 @@ The required manifest.json has the following format: PATH:: The path of the manifest.json or a zip file containing the sticker pack you wish to upload. +=== getAttachment + +Gets teh raw data for a specified attachment. This is done using the ID of the attachment the recipient or group ID. +The attachment data is returned as a Base64 String. + +*--id* [ID]:: +The ID of the attachment as given in the attachment list of the message. + +*--recipient* [RECIPIENT]:: +Specify the number which sent the attachment. Referred to generally as recipient. + +*-g* [GROUP], *--group-id* [GROUP]:: +Alternatively, specify the group IDs that for which to get the attachment. + === daemon signal-cli can run in daemon mode and provides an experimental dbus or JSON-RPC interface.