X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/a96c4938b15f3006efa6fc9dc1199c0ab6207e00..d84362eb0f022d8bd22321afb5f082b3881f316c:/man/signal-cli-dbus.5.adoc diff --git a/man/signal-cli-dbus.5.adoc b/man/signal-cli-dbus.5.adoc index 0f11ef9d..732efe43 100644 --- a/man/signal-cli-dbus.5.adoc +++ b/man/signal-cli-dbus.5.adoc @@ -68,9 +68,10 @@ This can be piped to a QR encoder to create a display that can be captured by a For example: -``` +[source,bash] +---- dbus-send --session --dest=org.asamk.Signal --type=method_call --print-reply /org/asamk/Signal org.asamk.Signal.link string:"My secondary client" | tr '\n' '\0' | sed 's/.*string //g' | sed 's/\"//g' | qrencode -s10 -tANSI256 -``` +---- listAccounts() -> accountList:: * accountList : Array of all attached accounts in DBus object path form @@ -422,12 +423,12 @@ listIdentities() -> identities:: * identities : Array of structs (objectPath, id, name) ** objectPath : DBusPath representing the identity object path ** uuid : Internal uuid of the identity -** number : Phone number of the identity (or uuid if not known) +** number : Phone number of the identity Lists all know identities getIdentity(Number) -> identityPath:: -* Number : Phone number +* Number : Phone number * identityPath : DBusPath object for the identity Gets the identity Dbus path for a given phone number @@ -575,13 +576,15 @@ To get all properties, use: trust() -> <>:: -Establish trust with the given identity. TrustLevel will become TRUSTED_UNVERFIED +Establish trust with the given identity. +TrustLevel will become TRUSTED_UNVERFIED Exceptions: Failure trustVerified(SafetyNumber) -> <>:: -Establish trust with the given identity using their safety number. TrustLevel will become TRUSTED_VERIFIED +Establish trust with the given identity using their safety number. +TrustLevel will become TRUSTED_VERIFIED Exceptions: Failure