mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-06 22:10:38 +00:00
implement Dbus addDevice and removeDevice methods
update documentation
This commit is contained in:
parent
bc3f8803dc
commit
da1bb918bf
4 changed files with 37 additions and 4 deletions
|
@ -268,9 +268,6 @@ isRegistered(numbers<as>) -> results<ab>::
|
|||
* result : true=number is registered, false=number is not registered
|
||||
* results : Boolean array of results
|
||||
|
||||
listDevices() -> devices<as>::
|
||||
* devices : String array of linked devices
|
||||
|
||||
listIdentity(number<s>) -> results<a(ssss)>::
|
||||
* number : Phone number
|
||||
* results : Array of elements, each consisting of four strings: trust_level, date_added, fingerprint, safety_number
|
||||
|
@ -297,6 +294,15 @@ link(newDeviceName<s>) -> deviceLinkUri<s>::
|
|||
* newDeviceName : Name to give new device (defaults to "cli" if no name is given)
|
||||
* deviceLinkUri : URI of newly linked device
|
||||
|
||||
addDevice(deviceUri<s>) -> <>::
|
||||
* deviceUri : URI in the form of tsdevice:/?uuid=... Normally received from Signal desktop or smartphone app
|
||||
|
||||
listDevices() -> devices<as>::
|
||||
* devices : String array of linked devices
|
||||
|
||||
removeDevice(deviceId<i>) -> <>::
|
||||
* deviceId : Device ID to remove, obtained from listDevices() command
|
||||
|
||||
register(number<s>, voiceVerification<b>) -> <>::
|
||||
* number : Phone number
|
||||
* voiceVerification : true = use voice verification; false = use SMS verification
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue