Implement EditMessageReceived signal for dbus

This commit is contained in:
AsamK 2023-10-10 20:21:40 +02:00
parent 7b5b5776f0
commit a66dd0dc79
4 changed files with 124 additions and 1 deletions

View file

@ -235,6 +235,58 @@ public interface Signal extends DBusInterface {
}
}
class EditMessageReceived extends DBusSignal {
private final long timestamp;
private final long targetSentTimestamp;
private final String sender;
private final byte[] groupId;
private final String message;
private final Map<String, Variant<?>> extras;
public EditMessageReceived(
String objectpath,
long timestamp,
final long targetSentTimestamp,
String sender,
byte[] groupId,
String message,
final Map<String, Variant<?>> extras
) throws DBusException {
super(objectpath, timestamp, targetSentTimestamp, sender, groupId, message, extras);
this.timestamp = timestamp;
this.targetSentTimestamp = targetSentTimestamp;
this.sender = sender;
this.groupId = groupId;
this.message = message;
this.extras = extras;
}
public long getTimestamp() {
return timestamp;
}
public long getTargetSentTimestamp() {
return targetSentTimestamp;
}
public String getSender() {
return sender;
}
public byte[] getGroupId() {
return groupId;
}
public String getMessage() {
return message;
}
public Map<String, Variant<?>> getExtras() {
return extras;
}
}
class MessageReceived extends DBusSignal {
private final long timestamp;