Updated DBus service (markdown)

John Freed 2021-08-20 07:03:33 +02:00
parent 22d368e54e
commit eec072b329

@ -51,6 +51,10 @@ Example with `dbus-send`:
dbus-send --session --type=method_call --print-reply --dest="org.asamk.Signal" /org/asamk/Signal org.asamk.Signal.sendMessage string:MessageText array:string: string:RECIPIENT
Example if you started the daemon without the optional USERNAME (exports all local users):
dbus-send --session --type=method_call --print-reply --dest="org.asamk.Signal" /org/asamk/Signal/_33123456789 org.asamk.Signal.sendMessage string:MessageText array:string: string:RECIPIENT
Keep in mind that if you use DBus as a system service and want to send a message using the dbus daemon, you must use `--system` instead of `--session` in the dbus send command.
For an example of sending a group message through the dbus interface, see [#272](https://github.com/AsamK/signal-cli/issues/272).