From eca3fc811d06b5b8ea364ff173b6cf635c333f72 Mon Sep 17 00:00:00 2001 From: Adimarantis Date: Mon, 5 Jun 2023 11:25:25 +0200 Subject: [PATCH] doc for listIdentities and getIdentity --- man/signal-cli-dbus.5.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/man/signal-cli-dbus.5.adoc b/man/signal-cli-dbus.5.adoc index a2df1674..0f11ef9d 100644 --- a/man/signal-cli-dbus.5.adoc +++ b/man/signal-cli-dbus.5.adoc @@ -416,6 +416,24 @@ Only works if sent from a secondary device. Exceptions: Failure +==== Identity related methods + +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) + +Lists all know identities + +getIdentity(Number) -> identityPath:: +* Number : Phone number +* identityPath : DBusPath object for the identity + +Gets the identity Dbus path for a given phone number + +Exceptions: Failure + === Signal.Group interface The following methods listen to the group's object path, which can be obtained from the listGroups() method and is constructed as follows: