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