mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Implement EditMessageReceived signal for dbus
This commit is contained in:
parent
7b5b5776f0
commit
a66dd0dc79
4 changed files with 124 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue