3 import org
.freedesktop
.dbus
.DBusInterface
;
4 import org
.whispersystems
.textsecure
.api
.push
.exceptions
.EncapsulatedExceptions
;
6 import java
.io
.IOException
;
9 public interface TextSecure
extends DBusInterface
{
10 void sendMessage(String message
, List
<String
> attachments
, String recipient
) throws EncapsulatedExceptions
, AttachmentInvalidException
, IOException
;
12 void sendGroupMessage(String message
, List
<String
> attachments
, byte[] groupId
) throws EncapsulatedExceptions
, GroupNotFoundException
, AttachmentInvalidException
, IOException
;