mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
implement Dbus sync methods (#737)
implement two Dbus methods: - sendContacts - sendSyncRequest update documentation
This commit is contained in:
parent
1ca0e75ef1
commit
8bee08fd96
3 changed files with 34 additions and 0 deletions
|
@ -107,6 +107,18 @@ sendGroupMessage(message<s>, attachments<as>, groupId<ay>) -> timestamp<x>::
|
|||
|
||||
Exceptions: GroupNotFound, Failure, AttachmentInvalid
|
||||
|
||||
sendContacts() -> <>::
|
||||
|
||||
Sends a synchronization message with the local contacts list to all linked devices. This command should only be used if this is the primary device.
|
||||
|
||||
Exceptions: Failure
|
||||
|
||||
sendSyncRequest() -> <>::
|
||||
|
||||
Sends a synchronization request to the primary device (for group, contacts, ...). Only works if sent from a secondary device.
|
||||
|
||||
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