Implementation of remoteDelete command, iteration 1

This commit is contained in:
adaptivegarage 2021-04-04 23:50:54 +02:00
parent 7832afd819
commit 3dc5441673
5 changed files with 143 additions and 3 deletions

View file

@ -21,6 +21,14 @@ public interface Signal extends DBusInterface {
String message, List<String> attachments, List<String> recipients
) throws Error.AttachmentInvalid, Error.Failure, Error.InvalidNumber, Error.UntrustedIdentity;
long remoteDelete(
long targetSentTimestamp, List<String> recipients
) throws Error.Failure, Error.InvalidNumber;
long remoteGroupDelete(
long targetSentTimestamp, byte[] groupId
) throws Error.Failure, Error.GroupNotFound;
long sendMessageReaction(
String emoji, boolean remove, String targetAuthor, long targetSentTimestamp, String recipient
) throws Error.InvalidNumber, Error.Failure;