mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-05-29 15:04:16 +00:00
Updated DBus service (markdown)
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
|
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.
|
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).
|
For an example of sending a group message through the dbus interface, see [#272](https://github.com/AsamK/signal-cli/issues/272).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user