mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-05 13:40:38 +00:00
implement Dbus addDevice and removeDevice
update documentation as well
This commit is contained in:
parent
b875465eff
commit
8b19312a03
3 changed files with 37 additions and 0 deletions
|
@ -334,6 +334,11 @@ Exceptions: Failure, InvalidNumber
|
|||
|
||||
=== Other methods
|
||||
|
||||
addDevice(deviceUri<s>) -> <>::
|
||||
* deviceUri : URI in the form of tsdevice:/?uuid=... Normally received from Signal desktop or smartphone app
|
||||
|
||||
Exception: Failure
|
||||
|
||||
listDevices() -> devices<as>::
|
||||
* devices : String array of linked devices
|
||||
|
||||
|
@ -346,6 +351,11 @@ This is a concatenated list of all defined contacts as well of profiles known (e
|
|||
|
||||
Exceptions: None
|
||||
|
||||
removeDevice(deviceId<i>) -> <>::
|
||||
* deviceId : Device ID to remove, obtained from listDevices() command
|
||||
|
||||
Exception: Failure
|
||||
|
||||
sendNoteToSelfMessage(message<s>, attachments<as>) -> timestamp<x>::
|
||||
* message : Text to send (can be UTF8)
|
||||
* attachments : String array of filenames to send as attachments (passed as filename, so need to be readable by the user signal-cli is running under)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue