X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/8cd782ef942a2bfd69d6fa56fda5d7b7b3923627..6f2e8716c71ec9763ec7ca123b0c01c1f5dd63fe:/src/main/java/org/asamk/Signal.java diff --git a/src/main/java/org/asamk/Signal.java b/src/main/java/org/asamk/Signal.java index 02fc22dd..79bf0172 100644 --- a/src/main/java/org/asamk/Signal.java +++ b/src/main/java/org/asamk/Signal.java @@ -19,6 +19,16 @@ public interface Signal extends DBusInterface { void sendGroupMessage(String message, List attachments, byte[] groupId) throws EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException, IOException; + String getContactName(String number); + + void setContactName(String number, String name); + + String getGroupName(byte[] groupId); + + List getGroupMembers(byte[] groupId); + + void updateGroup(byte[] groupId, String name, List members, String avatar) throws IOException, EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException; + class MessageReceived extends DBusSignal { private long timestamp; private String sender;