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
;
8 import java
.io
.IOException
;
11 public interface TextSecure
extends DBusInterface
{
12 void sendMessage(String message
, List
<String
> attachments
, String recipient
) throws EncapsulatedExceptions
, AttachmentInvalidException
, IOException
;
14 void sendMessage(String message
, List
<String
> attachments
, List
<String
> recipients
) throws EncapsulatedExceptions
, AttachmentInvalidException
, IOException
;
16 void sendEndSessionMessage(List
<String
> recipients
) throws IOException
, EncapsulatedExceptions
;
18 void sendGroupMessage(String message
, List
<String
> attachments
, byte[] groupId
) throws EncapsulatedExceptions
, GroupNotFoundException
, AttachmentInvalidException
, IOException
;