implement Dbus methods

sendContacts
sendSyncRequest
trust

update documentation
This commit is contained in:
John Freed 2021-08-18 07:44:44 +02:00
parent 21db752d28
commit 663f6f6e73
3 changed files with 93 additions and 3 deletions

View file

@ -195,6 +195,24 @@ Depending on the type of the recipient(s) field this deletes a message with one
Exceptions: Failure, InvalidNumber
sendContacts() -> <>
Sends a synchronization message with the local contacts list to all linked devices.
Exceptions: Failure, UntrustedIdentity
sendSyncRequest() -> <>
Sends a synchronization request to the primary device (for group, contacts, ...). Only works if a secondary device is running the daemon.
Exception: Failure
trust(number<s>, safetyNumber<s>) -> <>::
* number : Phone number
* safetyNumber : Verify the safety number associated with the phone number.
Exceptions: Failure, InvalidNumber;
sendTyping(typingAction<b>, base64GroupId<s>, recipients<as>) -> <>
* typingAction : true = start typing, false = stop typing
* base64GroupId : String representing the internal group identifier in Base64 format