mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-09-01 06:28:11 +00:00
Updated DBus service (markdown)
parent
4346def2b6
commit
1968f9c849
@ -140,6 +140,13 @@ or, using Bash shell syntax:
|
||||
```
|
||||
echo "ixZI93QgqmjNpM8V+E0="|sed 's/_/\//g' | base64 -d |xxd -p -c1|while read i; do printf "%d " $((16#${i})); done|sed 's/ /,/g'|sed 's/,$/\n/g'
|
||||
```
|
||||
|
||||
To reverse the process:
|
||||
|
||||
```
|
||||
python3 -c 'import base64; print(base64.b64encode(bytearray([139,22,72,247,116,32,170,104,205,164,207,21,248,77])))'
|
||||
```
|
||||
|
||||
In the examples above, attachments are identified by the first `array:string:` argument (`dbus-send` arguments must be in the correct order). The last argument can either be a single `string:RECIPIENT` (as in the examples above) or an `array:string:RECIPIENT1,RECIPIENT2,...` (for `dbus-send`, an array argument consists of a comma-separated list).
|
||||
|
||||
### Receive messages from signal-cli daemon
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user