mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
implement Dbus isRegistered() methods (#729)
* implement Dbus isRegistered() methods isRegistered(number<s>) returns a boolean isRegistered(numbers<as>) returns an array of Booleans * Dbus isRegistered() methods restore isRegistered() and respond to other requests by AsamK
This commit is contained in:
parent
df8dd54791
commit
1c4a32fef4
3 changed files with 42 additions and 4 deletions
|
@ -322,8 +322,15 @@ Exception: Failure
|
|||
version() -> version<s>::
|
||||
* version : Version string of signal-cli
|
||||
|
||||
isRegistred -> result<b>::
|
||||
* result : Currently always returns 1=true
|
||||
isRegistered() -> result<b>::
|
||||
isRegistered(number<s>) -> result<b>::
|
||||
isRegistered(numbers<as>) -> results<ab>::
|
||||
* number : Phone number
|
||||
* numbers : String array of phone numbers
|
||||
* result : true=number is registered, false=number is not registered
|
||||
* results : Boolean array of results
|
||||
|
||||
Exception: InvalidNumber for an incorrectly formatted phone number. For unknown numbers, false is returned, but no exception is raised. If no number is given, returns whether you are registered (presumably true).
|
||||
|
||||
addDevice(deviceUri<s>) -> <>::
|
||||
* deviceUri : URI in the form of tsdevice:/?uuid=... Normally received from Signal desktop or smartphone app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue