mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Extract SignalAccount from Manager
This commit is contained in:
parent
701328b8c2
commit
35c72f692f
30 changed files with 793 additions and 549 deletions
|
@ -11,6 +11,7 @@ import java.io.IOException;
|
|||
import java.util.List;
|
||||
|
||||
public interface Signal 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;
|
||||
|
@ -32,6 +33,7 @@ public interface Signal extends DBusInterface {
|
|||
byte[] updateGroup(byte[] groupId, String name, List<String> members, String avatar) throws IOException, EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException;
|
||||
|
||||
class MessageReceived extends DBusSignal {
|
||||
|
||||
private long timestamp;
|
||||
private String sender;
|
||||
private byte[] groupId;
|
||||
|
@ -69,6 +71,7 @@ public interface Signal extends DBusInterface {
|
|||
}
|
||||
|
||||
class ReceiptReceived extends DBusSignal {
|
||||
|
||||
private long timestamp;
|
||||
private String sender;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue