]> nmode's Git Repositories - signal-cli/blob - src/main/java/cli/TextSecure.java
011e696f63c1cb1e8190ea2faf971e9feb07565a
[signal-cli] / src / main / java / cli / TextSecure.java
1 package cli;
2
3 import org.freedesktop.dbus.DBusInterface;
4 import org.whispersystems.textsecure.api.push.exceptions.EncapsulatedExceptions;
5
6 import java.io.IOException;
7 import java.util.List;
8
9 public interface TextSecure extends DBusInterface {
10 void sendMessage(String message, List<String> attachments, String recipient) throws EncapsulatedExceptions, AttachmentInvalidException, IOException;
11
12 void sendGroupMessage(String message, List<String> attachments, byte[] groupId) throws EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException, IOException;
13 }