mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-11 18:04:24 +01:00
18 lines
841 B
Java
18 lines
841 B
Java
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<String> attachments, String recipient) throws EncapsulatedExceptions, AttachmentInvalidException, IOException;
|
|
|
|
void sendMessage(String message, List<String> attachments, List<String> recipients) throws EncapsulatedExceptions, AttachmentInvalidException, IOException;
|
|
|
|
void sendEndSessionMessage(List<String> recipients) throws IOException, EncapsulatedExceptions;
|
|
|
|
void sendGroupMessage(String message, List<String> attachments, byte[] groupId) throws EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException, IOException;
|
|
}
|