String getSelfNumber();
+ void subscribeReceive();
+
+ void unsubscribeReceive();
+
long sendMessage(
String message, List<String> attachments, String recipient
) throws Error.AttachmentInvalid, Error.Failure, Error.InvalidNumber, Error.UntrustedIdentity;
void sendEndSessionMessage(List<String> recipients) throws Error.Failure, Error.InvalidNumber, Error.UntrustedIdentity;
+ void deleteRecipient(final String recipient) throws Error.Failure;
+
+ void deleteContact(final String recipient) throws Error.Failure;
+
long sendGroupMessage(
String message, List<String> attachments, byte[] groupId
) throws Error.GroupNotFound, Error.Failure, Error.AttachmentInvalid, Error.InvalidGroupId;
void submitRateLimitChallenge(String challenge, String captchaString) throws Error.Failure;
+ void unregister() throws Error.Failure;
+
+ void deleteAccount() throws Error.Failure;
+
class MessageReceivedV2 extends DBusSignal {
private final long timestamp;
void removeDevice() throws Error.Failure;
}
+ @DBusProperty(name = "ReadReceipts", type = Boolean.class)
+ @DBusProperty(name = "UnidentifiedDeliveryIndicators", type = Boolean.class)
+ @DBusProperty(name = "TypingIndicators", type = Boolean.class)
+ @DBusProperty(name = "LinkPreviews", type = Boolean.class)
+ interface Configuration extends DBusInterface, Properties {}
+
class StructGroup extends Struct {
@Position(0)