- void sendGroupMessage(String message, List<String> attachments, byte[] groupId) throws EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException, IOException, UntrustedIdentityException;
+ void sendEndSessionMessage(List<String> recipients) throws IOException, EncapsulatedExceptions;
+
+ void sendGroupMessage(String message, List<String> attachments, byte[] groupId) throws EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException, IOException;
+
+ String getContactName(String number) throws InvalidNumberException;
+
+ void setContactName(String number, String name) throws InvalidNumberException;
+
+ void setContactBlocked(String number, boolean blocked) throws InvalidNumberException;
+
+ void setGroupBlocked(byte[] groupId, boolean blocked) throws GroupNotFoundException;
+
+ List<byte[]> getGroupIds();
+
+ String getGroupName(byte[] groupId);
+
+ List<String> getGroupMembers(byte[] groupId);
+
+ byte[] updateGroup(byte[] groupId, String name, List<String> members, String avatar) throws IOException, EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException;
+
+ boolean isRegistered();