X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/845e93ec0f8931b7f501318853b5750c37721621..9a1b348ed2d31ac63bf0ef6f64ad92a2f16d173c:/src/main/java/cli/TextSecure.java diff --git a/src/main/java/cli/TextSecure.java b/src/main/java/cli/TextSecure.java new file mode 100644 index 00000000..011e696f --- /dev/null +++ b/src/main/java/cli/TextSecure.java @@ -0,0 +1,13 @@ +package cli; + +import org.freedesktop.dbus.DBusInterface; +import org.whispersystems.textsecure.api.push.exceptions.EncapsulatedExceptions; + +import java.io.IOException; +import java.util.List; + +public interface TextSecure extends DBusInterface { + void sendMessage(String message, List attachments, String recipient) throws EncapsulatedExceptions, AttachmentInvalidException, IOException; + + void sendGroupMessage(String message, List attachments, byte[] groupId) throws EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException, IOException; +}